org.apache.xbean.kernel
Interface ServiceContext

All Known Implementing Classes:
StandardServiceContext

public interface ServiceContext

This class contains context information available to a service factory during service construction and destruction.

Since:
2.0
Author:
Dain Sundstrom

Method Summary
 ClassLoader getClassLoader()
          Gets the class loader for this service.
 Kernel getKernel()
          Gets the kernel in which this service is registered.
 ServiceName getServiceName()
          Gets the unique name of the service in the kernel.
 

Method Detail

getKernel

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

Returns:
the kernel in which this service is registered

getServiceName

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

Returns:
the unique name of this service in the kernel

getClassLoader

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

Returns:
the class loader for this service


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