|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.croftsoft.core.lang.lifecycle.LifecycleLib
public final class LifecycleLib
Convenience methods for Lifecycle objects.
| Method Summary | |
|---|---|
static void |
destroy(Destroyable... destroyables)
Destroys the destroyables, catching and printing any Exception. |
static void |
destroy(Destroyable destroyable)
Destroys the destroyable, catching and printing any Exception. |
static void |
init(Initializable... initializables)
Initializes the initializables, catching and printing any Exception. |
static void |
init(Initializable initializable)
Initializes the initializable, catching and printing any Exception. |
static void |
start(Startable... startables)
Starts the startables, catching and printing any Exception. |
static void |
start(Startable startable)
Starts the startable, catching and printing any Exception. |
static void |
stop(Stoppable... stoppables)
Stops the stoppables, catching and printing any Exception. |
static void |
stop(Stoppable stoppable)
Stops the stoppable, catching and printing any Exception. |
static void |
update(Updatable... updatables)
Updates the updatables, catching and printing any Exception. |
static void |
update(Updatable updatable)
Updates the updatable, catching and printing any Exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void init(Initializable initializable)
initializable - If null, does nothing.public static void init(Initializable... initializables)
initializables - If null, does nothing.public static void start(Startable startable)
startable - If null, does nothing.public static void start(Startable... startables)
startables - If null, does nothing.public static void stop(Stoppable stoppable)
stoppable - If null, does nothing.public static void stop(Stoppable... stoppables)
stoppables - If null, does nothing.public static void destroy(Destroyable destroyable)
destroyable - If null, does nothing.public static void destroy(Destroyable... destroyables)
destroyables - If null, does nothing.public static void update(Updatable updatable)
updatable - If null, does nothing.public static void update(Updatable... updatables)
updatables - If null, does nothing.
|
CroftSoft Javadoc | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||