com.primix.tapestry.spec
Class BeanLifecycle

java.lang.Object
  |
  +--com.primix.tapestry.util.Enum
        |
        +--com.primix.tapestry.spec.BeanLifecycle
All Implemented Interfaces:
java.io.Serializable

public class BeanLifecycle
extends Enum

An Enum of the different possible lifecycles for a JavaBean.

Since:
1.0.4
Version:
$Id: BeanLifecycle.java,v 1.2 2001/08/26 04:53:58 hship Exp $
Author:
Howard Ship
See Also:
Serialized Form

Field Summary
static BeanLifecycle NONE
          No lifecycle; the bean is created fresh on each reference and not retained.
static BeanLifecycle PAGE
          The bean is created once and reused for the lifespan of the page containing the component.
static BeanLifecycle REQUEST
          The standard lifecycle; the bean is retained for the duration of the request cycle and is discarded at the end of the request cycle.
 
Methods inherited from class com.primix.tapestry.util.Enum
getEnumerationId, getSingleton, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final BeanLifecycle NONE
No lifecycle; the bean is created fresh on each reference and not retained.

REQUEST

public static final BeanLifecycle REQUEST
The standard lifecycle; the bean is retained for the duration of the request cycle and is discarded at the end of the request cycle.

PAGE

public static final BeanLifecycle PAGE
The bean is created once and reused for the lifespan of the page containing the component.