|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.lifecycle.Lifecycle
jfun.yan.lifecycle.DefaultLifecycleManager.DefaultLifecycle
public class DefaultLifecycleManager.DefaultLifecycle
This class is a Lifecycle that directly supports the default "init-verify-open-start-stop-close-dispose" life-cycle scheme.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class jfun.yan.lifecycle.Lifecycle |
|---|
Lifecycle.Entry |
| Constructor Summary | |
|---|---|
DefaultLifecycleManager.DefaultLifecycle()
|
|
| Method Summary | |
|---|---|
DefaultLifecycleManager.DefaultLifecycle |
closer(Procedure proc)
To register the "close" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
closer(Procedure proc,
boolean reentrant)
To register the "close" phase. |
DefaultLifecycleManager.DefaultLifecycle |
closer(java.lang.String method_name)
To register the "close" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
disposer(Procedure proc)
To register the "dispose" phase as non-reentrant. |
DefaultLifecycleManager.DefaultLifecycle |
disposer(Procedure proc,
boolean reentrant)
To register the "dispose" phase. |
DefaultLifecycleManager.DefaultLifecycle |
disposer(java.lang.String method_name)
To register the "dispose" phase as non-reentrant. |
DefaultLifecycleManager.DefaultLifecycle |
initializer(Procedure proc)
To register the "init" phase as non-reentrant. |
DefaultLifecycleManager.DefaultLifecycle |
initializer(Procedure proc,
boolean reentrant)
To register the "init" phase. |
DefaultLifecycleManager.DefaultLifecycle |
initializer(java.lang.String method_name)
To register the "init" phase as non-reentrant. |
Component |
manage(Component c)
To create a Component with the current lifecycle. |
void |
manageInstance(java.lang.Object obj)
Manage an instance's life. |
DefaultLifecycleManager.DefaultLifecycle |
opener(Procedure proc)
To register the "open" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
opener(Procedure proc,
boolean reentrant)
To register the "open" phase. |
DefaultLifecycleManager.DefaultLifecycle |
opener(java.lang.String method_name)
To register the "open" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
starter(Procedure proc)
To register the "start" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
starter(Procedure proc,
boolean reentrant)
To register the "start" phase. |
DefaultLifecycleManager.DefaultLifecycle |
starter(java.lang.String method_name)
To register the "start" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
stopper(Procedure proc)
To register the "stop" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
stopper(Procedure proc,
boolean reentrant)
To register the "stop" phase. |
DefaultLifecycleManager.DefaultLifecycle |
stopper(java.lang.String method_name)
To register the "stop" phase as re-entrant. |
DefaultLifecycleManager.DefaultLifecycle |
verifier(Procedure proc)
To register the "verify" phase as reentrant. |
DefaultLifecycleManager.DefaultLifecycle |
verifier(Procedure proc,
boolean reentrant)
To register the "verify" phase. |
DefaultLifecycleManager.DefaultLifecycle |
verifier(java.lang.String method_name)
To register the "verify" phase as reentrant. |
| Methods inherited from class jfun.yan.lifecycle.Lifecycle |
|---|
bear, entries, get, isEmpty, keys, put, remove, size |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLifecycleManager.DefaultLifecycle()
| Method Detail |
|---|
public DefaultLifecycleManager.DefaultLifecycle opener(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle closer(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle initializer(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle disposer(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle verifier(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle starter(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle stopper(Procedure proc,
boolean reentrant)
proc - the phase procedure.reentrant - whether the procedure is re-entrant.
public DefaultLifecycleManager.DefaultLifecycle opener(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle closer(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle initializer(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle disposer(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle verifier(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle starter(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle stopper(Procedure proc)
proc - the phase procedure.
public DefaultLifecycleManager.DefaultLifecycle opener(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle closer(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle initializer(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle disposer(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle verifier(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle starter(java.lang.String method_name)
method_name - the name of the parameter-less method.
public DefaultLifecycleManager.DefaultLifecycle stopper(java.lang.String method_name)
method_name - the name of the parameter-less method.
public Component manage(Component c)
c - the Component to be managed by the lifecycle.
public void manageInstance(java.lang.Object obj)
obj - the instance.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||