|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xbean.kernel.standard.StandardServiceConditionContext
This is the service context used by the service manager.
| Constructor Summary | |
StandardServiceConditionContext(Kernel kernel,
ServiceName serviceName,
java.lang.ClassLoader classLoader,
edu.emory.mathcs.backport.java.util.concurrent.locks.Lock lock,
edu.emory.mathcs.backport.java.util.concurrent.locks.Condition condition)
Creates a service context for the specified service. |
|
| Method Summary | |
java.lang.ClassLoader |
getClassLoader()
Gets the class loader for the service. |
Kernel |
getKernel()
Gets the kernel in which the service is registered. |
ServiceName |
getServiceName()
Gets the unique name of the service. |
boolean |
isSatisfied()
Gets the satisfied status of this condition. |
void |
setSatisfied()
Used to notify the container that the condition has been satisfied asychronously. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardServiceConditionContext(Kernel kernel,
ServiceName serviceName,
java.lang.ClassLoader classLoader,
edu.emory.mathcs.backport.java.util.concurrent.locks.Lock lock,
edu.emory.mathcs.backport.java.util.concurrent.locks.Condition condition)
kernel - the kernel in which the service is registeredserviceName - the name of the serviceclassLoader - the class loader for the servicelock - the lock for the service managercondition - the condition that should be notified when the setSatisfied() method is called| Method Detail |
public Kernel getKernel()
getKernel in interface ServiceConditionContextpublic ServiceName getServiceName()
getServiceName in interface ServiceConditionContextpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface ServiceConditionContextpublic boolean isSatisfied()
public void setSatisfied()
setSatisfied in interface ServiceConditionContext
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||