|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.tapestry.spec.BeanLifecycle
public final class BeanLifecycle
An enumeration of the different possible lifecycles for a JavaBean.
| 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 |
RENDER
The bean is create and reused until the end of the current render, at which point it is discarded. |
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. |
| Method Summary | |
|---|---|
String |
getName()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final BeanLifecycle NONE
public static final BeanLifecycle REQUEST
public static final BeanLifecycle PAGE
public static final BeanLifecycle RENDER
| Method Detail |
|---|
public String toString()
toString in class Objectpublic String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||