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
Author:
Dain Sundstrom

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

Method Detail

getKernel

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

Returns:
the kernel in which the service is registered

getServiceName

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

Returns:
the unique name of the service

getClassLoader

ClassLoader getClassLoader()
Gets the class loader for the service.

Returns:
the class loader for the service

setSatisfied

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



Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.