|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A ServiceContion represents a prerequsite for a service to start or stop. A condition can be added to a service with
the ServiceFactory.addStartCondition(ServiceCondition)
or
ServiceFactory.addStopCondition(ServiceCondition)
methods.
Method Summary | |
void |
destroy()
Destroys the condition. |
void |
initialize(ServiceConditionContext context)
Initializes the condition. |
boolean |
isSatisfied()
Gets statisfied state of this conditon. |
Method Detail |
public void initialize(ServiceConditionContext context)
context
- context information for this conditionpublic boolean isSatisfied()
public void destroy()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |