|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An entity with a licecycle (init, destroy) and an Environment.
A components lifecycle is simple. It starts with init and ends with destroy.
AraneaRuntimeException
will be thrown.
Environment. The component's
Environment cannot be altered after the initialization process.
_getComponent()
which returns the implementation.
| Nested Class Summary | |
static interface |
Component.Interface
The interface which takes care of calling the hooks in the template. |
| Method Summary | |
Component.Interface |
_getComponent()
The factory method returning the implementation of the Component. |
Environment |
getEnvironment()
Provides access to the Environment of this
Component. |
Scope |
getScope()
Provides the scope of this Component. |
boolean |
isAlive()
Specifies whether this Component is alive. |
| Method Detail |
public Environment getEnvironment()
Environment of this
Component.
Environment of the Component.public Scope getScope()
Component. The
Scope is related to Path and the idea behind it is
quite similar.
Componentpublic boolean isAlive()
Component is alive. If it is alive
then it means that the Component has been initialized and is
not destroyed yet.
true, if this component has been initialized and is
not destroyed. Otherwise, false.public Component.Interface _getComponent()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||