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
Direct Known Subclasses:
GuiceResteasyBootstrapServletContextListener

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

Field Summary
protected  ResteasyDeployment deployment
           
 
Constructor Summary
ResteasyBootstrap()
           
 
Method Summary
 void contextDestroyed(javax.servlet.ServletContextEvent event)
           
 void contextInitialized(javax.servlet.ServletContextEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

deployment

protected ResteasyDeployment deployment
Constructor Detail

ResteasyBootstrap

public ResteasyBootstrap()
Method Detail

contextInitialized

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

contextDestroyed

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


Copyright © 2010. All Rights Reserved.