org.jboss.resteasy.plugins.server.servlet
Class ResteasyBootstrap
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResteasyBootstrap
public ResteasyBootstrap()
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.