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

Method Summary
 java.lang.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

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

Returns:
the kernel in which this service is registered

getServiceName

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

Returns:
the unique name of this service in the kernel

getClassLoader

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

Returns:
the class loader for this service


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