org.apache.webbeans.web.context
Class WebContextsService

java.lang.Object
  extended by org.apache.webbeans.context.AbstractContextsService
      extended by org.apache.webbeans.web.context.WebContextsService
All Implemented Interfaces:
ContextsService

public class WebContextsService
extends AbstractContextsService

Web container ContextsService implementation.


Constructor Summary
WebContextsService()
          Creates a new instance.
 
Method Summary
 void destroy(Object destroyObject)
          
 void endContext(Class<? extends Annotation> scopeType, Object endParameters)
          
 Context getCurrentContext(Class<? extends Annotation> scopeType)
          
 void init(Object initializeObject)
          
 void startContext(Class<? extends Annotation> scopeType, Object startParameter)
          
 boolean supportsContext(Class<? extends Annotation> scopeType)
          
 
Methods inherited from class org.apache.webbeans.context.AbstractContextsService
activateContext, deActivateContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebContextsService

public WebContextsService()
Creates a new instance.

Method Detail

init

public void init(Object initializeObject)

Specified by:
init in interface ContextsService
Overrides:
init in class AbstractContextsService

destroy

public void destroy(Object destroyObject)

Specified by:
destroy in interface ContextsService
Overrides:
destroy in class AbstractContextsService

endContext

public void endContext(Class<? extends Annotation> scopeType,
                       Object endParameters)

Specified by:
endContext in interface ContextsService
Overrides:
endContext in class AbstractContextsService

getCurrentContext

public Context getCurrentContext(Class<? extends Annotation> scopeType)

Specified by:
getCurrentContext in interface ContextsService
Overrides:
getCurrentContext in class AbstractContextsService

startContext

public void startContext(Class<? extends Annotation> scopeType,
                         Object startParameter)
                  throws ContextException

Specified by:
startContext in interface ContextsService
Overrides:
startContext in class AbstractContextsService
Throws:
ContextException

supportsContext

public boolean supportsContext(Class<? extends Annotation> scopeType)

Specified by:
supportsContext in interface ContextsService
Overrides:
supportsContext in class AbstractContextsService


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.