|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.xbean.kernel.standard.StandardServiceContext
The standard service context implementation. This is passed to the service factory in the
ServiceFactory.createService(ServiceContext) and ServiceFactory.destroyService(ServiceContext)
methods.
| Constructor Summary | |
StandardServiceContext(Kernel kernel,
ServiceName serviceName,
java.lang.ClassLoader classLoader)
Creates the standard service context implementation. |
|
| 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. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardServiceContext(Kernel kernel,
ServiceName serviceName,
java.lang.ClassLoader classLoader)
kernel - the kernel in which the service is registeredserviceName - the name of the serviceclassLoader - the class loader for the service| Method Detail |
public Kernel getKernel()
getKernel in interface ServiceContextpublic ServiceName getServiceName()
getServiceName in interface ServiceContextpublic java.lang.ClassLoader getClassLoader()
getClassLoader in interface ServiceContext
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||