public abstract class AbstractLifeCycle extends Object implements LifeCycle
| Constructor and Description |
|---|
AbstractLifeCycle() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
ensureStarted()
ensure the component has been startup before providing service.
|
boolean |
isStarted() |
void |
shutdown() |
void |
startup() |
public void startup()
throws LifeCycleException
startup in interface LifeCycleLifeCycleExceptionpublic void shutdown()
throws LifeCycleException
shutdown in interface LifeCycleLifeCycleExceptionprotected void ensureStarted()
Copyright © 2024. All rights reserved.