|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LifeCycle
// TODO: Adrian: Document this!
Nested Class Summary | |
---|---|
static class |
LifeCycle.Status
States that are possible for a component. |
Method Summary | |
---|---|
Exception |
getException()
|
LifeCycle.Status |
getStatus()
|
void |
shutdown()
Requests shutdown of the component. |
void |
shutdown(long waitMs)
Requests shutdown, but will only wait @link waitms milliseconds |
void |
start()
Asynchronously starts the component |
Method Detail |
---|
LifeCycle.Status getStatus()
Exception getException()
@PostConstruct void start()
@PreDestroy void shutdown()
void shutdown(long waitMs)
waitMs
- maximum time to wait in milliseconds
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |