|
JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface LifecycleContext
A context object for lifecycle events.
| Method Summary | |
|---|---|
void |
asynchronous()
Call within the service lifecycle method to trigger an asynchronous lifecycle action. |
void |
complete()
Call when an asynchronous lifecycle action is complete. |
ServiceController<?> |
getController()
Get the associated service controller. |
| Method Detail |
|---|
void asynchronous()
throws IllegalStateException
IllegalStateException - if called outside of the main service lifecycle method
void complete()
throws IllegalStateException
IllegalStateException - if called before asynchronous() is called, or if the action was already
completedServiceController<?> getController()
|
JBoss Modular Service Kernel API 1.0.0.Beta4-SNAPSHOT | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||