org.jboss.resteasy.plugins.server.servlet
Class ResteasyBootstrap

java.lang.Object
  extended by org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap
All Implemented Interfaces:
java.util.EventListener, javax.servlet.ServletContextListener

public class ResteasyBootstrap
extends java.lang.Object
implements javax.servlet.ServletContextListener

This is a ServletContextListener that creates the registry for resteasy and stuffs it as a servlet context attribute

Version:
$Revision: 1 $
Author:
Bill Burke

Constructor Summary
ResteasyBootstrap()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
protected  java.util.Map<java.lang.String,java.lang.String> parseMap(java.lang.String map)
           
static void processApplication(Application config, Registry registry, ResteasyProviderFactory factory)
           
protected  void processJndiResources(java.lang.String jndiResources)
           
protected  void processProviders(org.scannotation.AnnotationDB db)
           
protected  void processResource(java.lang.String clazz)
           
protected  void processResources(org.scannotation.AnnotationDB db)
           
protected  void processResources(java.lang.String list)
           
protected  void setProviders(java.lang.String providers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResteasyBootstrap

public ResteasyBootstrap()
Method Detail

contextInitialized

public void contextInitialized(javax.servlet.ServletContextEvent event)
Specified by:
contextInitialized in interface javax.servlet.ServletContextListener

processApplication

public static void processApplication(Application config,
                                      Registry registry,
                                      ResteasyProviderFactory factory)

parseMap

protected java.util.Map<java.lang.String,java.lang.String> parseMap(java.lang.String map)

processJndiResources

protected void processJndiResources(java.lang.String jndiResources)

processResources

protected void processResources(java.lang.String list)

processProviders

protected void processProviders(org.scannotation.AnnotationDB db)

processResources

protected void processResources(org.scannotation.AnnotationDB db)

processResource

protected void processResource(java.lang.String clazz)

setProviders

protected void setProviders(java.lang.String providers)

contextDestroyed

public void contextDestroyed(javax.servlet.ServletContextEvent event)
Specified by:
contextDestroyed in interface javax.servlet.ServletContextListener


Copyright © 2009. All Rights Reserved.