Package | Description |
---|---|
org.apache.tapestry.spec |
Classes to represent application and component specifications.
|
Modifier and Type | Field and Description |
---|---|
protected BeanLifecycle |
BeanSpecification.lifecycle |
static BeanLifecycle |
BeanLifecycle.NONE
No lifecycle; the bean is created fresh on each reference and not retained.
|
static BeanLifecycle |
BeanLifecycle.PAGE
The bean is created once and reused for the lifespan of the page containing the component.
|
static BeanLifecycle |
BeanLifecycle.RENDER
The bean is create and reused until the end of the current render, at which point it is
discarded.
|
static BeanLifecycle |
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.
|
Modifier and Type | Method and Description |
---|---|
BeanLifecycle |
BeanSpecification.getLifecycle() |
BeanLifecycle |
IBeanSpecification.getLifecycle() |
Modifier and Type | Method and Description |
---|---|
void |
BeanSpecification.setLifecycle(BeanLifecycle lifecycle) |
void |
IBeanSpecification.setLifecycle(BeanLifecycle lifecycle) |