org.jboss.webbeans.context
Class ContextLifecycle

java.lang.Object
  extended by org.jboss.webbeans.context.ContextLifecycle
All Implemented Interfaces:
Lifecycle, Service

public class ContextLifecycle
extends java.lang.Object
implements Lifecycle

An implementation of the Web Beans lifecycle that supports restoring and destroying all the built in contexts

Author:
Pete Muir

Constructor Summary
ContextLifecycle()
           
 
Method Summary
 void beginRequest(java.lang.String id, BeanStore requestBeanStore)
           
protected  void destroyConversation(java.lang.String id, ConversationBeanStore conversationBeanStore)
           
 void endRequest(java.lang.String id, BeanStore requestBeanStore)
           
 void endSession(java.lang.String id, BeanStore sessionBeanStore)
           
protected  void restoreConversation(java.lang.String id, BeanStore conversationBeanStore)
           
 void restoreSession(java.lang.String id, BeanStore sessionBeanStore)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContextLifecycle

public ContextLifecycle()
Method Detail

restoreSession

public void restoreSession(java.lang.String id,
                           BeanStore sessionBeanStore)

endSession

public void endSession(java.lang.String id,
                       BeanStore sessionBeanStore)

beginRequest

public void beginRequest(java.lang.String id,
                         BeanStore requestBeanStore)

endRequest

public void endRequest(java.lang.String id,
                       BeanStore requestBeanStore)

restoreConversation

protected void restoreConversation(java.lang.String id,
                                   BeanStore conversationBeanStore)

destroyConversation

protected void destroyConversation(java.lang.String id,
                                   ConversationBeanStore conversationBeanStore)


Copyright © 2011. All Rights Reserved.