|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjfun.yan.lifecycle.LifecycleManager
jfun.yan.lifecycle.DefaultLifecycleManager
public class DefaultLifecycleManager
A LifecycleManager that directly supports the default "init-verify-open-start-stop-close-dispose" scheme.
Zephyr Business Solution
| Nested Class Summary | |
|---|---|
class |
DefaultLifecycleManager.DefaultLifecycle
This class is a Lifecycle that directly supports the default "init-verify-open-start-stop-close-dispose" life-cycle scheme. |
| Constructor Summary | |
|---|---|
DefaultLifecycleManager()
To create a DefaultLifecycleManager object. Equivalent to this(new DefaultLifecycleDescriptor()). |
|
DefaultLifecycleManager(DefaultLifecycleDescriptor desc)
To create a DefaultLifecycleManager object. |
|
| Method Summary | |
|---|---|
void |
close()
To call the "close" phase for all managed instances. |
void |
dispose()
To call the "dispose" phase for all managed instances. |
void |
init()
To call the "init" phase for all managed instances. |
DefaultLifecycleManager.DefaultLifecycle |
newLifecycle()
To create a DefaultLifecycle object. |
void |
open()
To call the "open" phase for all managed instances. |
void |
start()
To call the "start" phase for all managed instances. |
void |
stop()
To call the "stop" phase for all managed instances. |
void |
verify()
To call the "verify" phase for all managed instances. |
| Methods inherited from class jfun.yan.lifecycle.LifecycleManager |
|---|
addLiveObject, fifo, filo, getManagedInstances, withLifecycle |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLifecycleManager(DefaultLifecycleDescriptor desc)
desc - the descriptor of the phases.public DefaultLifecycleManager()
this(new DefaultLifecycleDescriptor()).
| Method Detail |
|---|
public void close()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void dispose()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void init()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void verify()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void open()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void start()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.
public void stop()
throws java.lang.Throwable
java.lang.Throwable - when any exception happens.public DefaultLifecycleManager.DefaultLifecycle newLifecycle()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||