|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceCondition
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 |
---|
void initialize(ServiceConditionContext context)
context
- context information for this conditionboolean isSatisfied()
void destroy()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |