org.jboss.weld.context
Class ContextLifecycle
java.lang.Object
org.jboss.weld.context.ContextLifecycle
- All Implemented Interfaces:
- org.jboss.weld.bootstrap.api.Lifecycle, org.jboss.weld.bootstrap.api.Service
public class ContextLifecycle
- extends java.lang.Object
- implements org.jboss.weld.bootstrap.api.Lifecycle, org.jboss.weld.bootstrap.api.Service
An implementation of the Weld lifecycle that supports restoring
and destroying all the built in contexts
- Author:
- Pete Muir
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static final LogProvider log
ContextLifecycle
public ContextLifecycle(AbstractApplicationContext applicationContext,
AbstractApplicationContext singletonContext,
SessionContext sessionContext,
ConversationContext conversationContext,
RequestContext requestContext,
DependentContext dependentContext)
restoreSession
public void restoreSession(java.lang.String id,
org.jboss.weld.context.api.BeanStore sessionBeanStore)
- Specified by:
restoreSession in interface org.jboss.weld.bootstrap.api.Lifecycle
endSession
public void endSession(java.lang.String id,
org.jboss.weld.context.api.BeanStore sessionBeanStore)
- Specified by:
endSession in interface org.jboss.weld.bootstrap.api.Lifecycle
beginRequest
public void beginRequest(java.lang.String id,
org.jboss.weld.context.api.BeanStore requestBeanStore)
- Specified by:
beginRequest in interface org.jboss.weld.bootstrap.api.Lifecycle
endRequest
public void endRequest(java.lang.String id,
org.jboss.weld.context.api.BeanStore requestBeanStore)
- Specified by:
endRequest in interface org.jboss.weld.bootstrap.api.Lifecycle
isRequestActive
public boolean isRequestActive()
- Specified by:
isRequestActive in interface org.jboss.weld.bootstrap.api.Lifecycle
isApplicationActive
public boolean isApplicationActive()
- Specified by:
isApplicationActive in interface org.jboss.weld.bootstrap.api.Lifecycle
isConversationActive
public boolean isConversationActive()
- Specified by:
isConversationActive in interface org.jboss.weld.bootstrap.api.Lifecycle
isSessionActive
public boolean isSessionActive()
- Specified by:
isSessionActive in interface org.jboss.weld.bootstrap.api.Lifecycle
beginApplication
public void beginApplication(org.jboss.weld.context.api.BeanStore applicationBeanStore)
- Specified by:
beginApplication in interface org.jboss.weld.bootstrap.api.Lifecycle
endApplication
public void endApplication()
- Specified by:
endApplication in interface org.jboss.weld.bootstrap.api.Lifecycle
cleanup
public void cleanup()
- Specified by:
cleanup in interface org.jboss.weld.bootstrap.api.Service
getApplicationContext
public AbstractApplicationContext getApplicationContext()
- Specified by:
getApplicationContext in interface org.jboss.weld.bootstrap.api.Lifecycle
getSingletonContext
public AbstractApplicationContext getSingletonContext()
- Specified by:
getSingletonContext in interface org.jboss.weld.bootstrap.api.Lifecycle
getSessionContext
public SessionContext getSessionContext()
- Specified by:
getSessionContext in interface org.jboss.weld.bootstrap.api.Lifecycle
getConversationContext
public ConversationContext getConversationContext()
- Specified by:
getConversationContext in interface org.jboss.weld.bootstrap.api.Lifecycle
getRequestContext
public RequestContext getRequestContext()
- Specified by:
getRequestContext in interface org.jboss.weld.bootstrap.api.Lifecycle
getDependentContext
public DependentContext getDependentContext()
- Specified by:
getDependentContext in interface org.jboss.weld.bootstrap.api.Lifecycle
Copyright © 2008-2009 Seam Framework. All Rights Reserved.