|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.xbean.kernel.standard.StandardServiceConditionContext
public class StandardServiceConditionContext
This is the service context used by the service manager.
Constructor Summary | |
---|---|
StandardServiceConditionContext(Kernel kernel,
ServiceName serviceName,
ClassLoader classLoader,
Lock lock,
Condition condition)
Creates a service context for the specified service. |
Method Summary | |
---|---|
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, ClassLoader classLoader, Lock lock, 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 calledMethod Detail |
---|
public Kernel getKernel()
getKernel
in interface ServiceConditionContext
public ServiceName getServiceName()
getServiceName
in interface ServiceConditionContext
public ClassLoader getClassLoader()
getClassLoader
in interface ServiceConditionContext
public 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 |