org.apache.openejb.cdi
Class CdiAppContextsService

java.lang.Object
  extended by org.apache.webbeans.context.AbstractContextsService
      extended by org.apache.openejb.cdi.CdiAppContextsService
All Implemented Interfaces:
org.apache.webbeans.spi.ContextsService

public class CdiAppContextsService
extends org.apache.webbeans.context.AbstractContextsService
implements org.apache.webbeans.spi.ContextsService


Nested Class Summary
static class CdiAppContextsService.State
           
 
Constructor Summary
CdiAppContextsService()
           
CdiAppContextsService(org.apache.webbeans.config.WebBeansContext wbc, boolean supportsConversation)
           
 
Method Summary
 void destroy(Object destroyObject)
           
 void endContext(Class<? extends Annotation> scopeType, Object endParameters)
           
 javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
           
 void init(Object initializeObject)
           
static void pushRequestReleasable(Runnable runnable)
           
 void removeThreadLocals()
           
 CdiAppContextsService.State restoreState(CdiAppContextsService.State state)
           
 CdiAppContextsService.State saveState()
           
 void startContext(Class<? extends Annotation> scopeType, Object startParameter)
           
 boolean supportsContext(Class<? extends Annotation> scopeType)
           
 void updateSessionIdMapping(String oldId, String newId)
           
 
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
 
Methods inherited from interface org.apache.webbeans.spi.ContextsService
activateContext, deActivateContext
 

Constructor Detail

CdiAppContextsService

public CdiAppContextsService()

CdiAppContextsService

public CdiAppContextsService(org.apache.webbeans.config.WebBeansContext wbc,
                             boolean supportsConversation)
Method Detail

pushRequestReleasable

public static void pushRequestReleasable(Runnable runnable)

init

public void init(Object initializeObject)
Specified by:
init in interface org.apache.webbeans.spi.ContextsService
Overrides:
init in class org.apache.webbeans.context.AbstractContextsService

destroy

public void destroy(Object destroyObject)
Specified by:
destroy in interface org.apache.webbeans.spi.ContextsService
Overrides:
destroy in class org.apache.webbeans.context.AbstractContextsService

removeThreadLocals

public void removeThreadLocals()

endContext

public void endContext(Class<? extends Annotation> scopeType,
                       Object endParameters)
Specified by:
endContext in interface org.apache.webbeans.spi.ContextsService
Overrides:
endContext in class org.apache.webbeans.context.AbstractContextsService

getCurrentContext

public javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
Specified by:
getCurrentContext in interface org.apache.webbeans.spi.ContextsService
Overrides:
getCurrentContext in class org.apache.webbeans.context.AbstractContextsService

startContext

public void startContext(Class<? extends Annotation> scopeType,
                         Object startParameter)
                  throws javax.enterprise.context.ContextException
Specified by:
startContext in interface org.apache.webbeans.spi.ContextsService
Overrides:
startContext in class org.apache.webbeans.context.AbstractContextsService
Throws:
javax.enterprise.context.ContextException

supportsContext

public boolean supportsContext(Class<? extends Annotation> scopeType)
Specified by:
supportsContext in interface org.apache.webbeans.spi.ContextsService
Overrides:
supportsContext in class org.apache.webbeans.context.AbstractContextsService

updateSessionIdMapping

public void updateSessionIdMapping(String oldId,
                                   String newId)

saveState

public CdiAppContextsService.State saveState()

restoreState

public CdiAppContextsService.State restoreState(CdiAppContextsService.State state)


Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.