org.apache.xbean.kernel
Interface ServiceConditionContext

All Known Implementing Classes:
StandardServiceConditionContext

public interface ServiceConditionContext

The ServiceConditionContext contains context information available to a service condition and a method to notify the kernel if a service condition is satisified asynchronously.

Since:
2.0
Version:
$Id$
Author:
Dain Sundstrom

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.
 void setSatisfied()
          Used to notify the container that the condition has been satisfied asychronously.
 

Method Detail

getKernel

public Kernel getKernel()
Gets the kernel in which the service is registered.

Returns:
the kernel in which the service is registered

getServiceName

public ServiceName getServiceName()
Gets the unique name of the service.

Returns:
the unique name of the service

getClassLoader

public java.lang.ClassLoader getClassLoader()
Gets the class loader for the service.

Returns:
the class loader for the service

setSatisfied

public void setSatisfied()
Used to notify the container that the condition has been satisfied asychronously.



Copyright © {inceptionYear}-2006 Apache Software Foundation. All Rights Reserved.