|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.nitido.nim.NiMKernelService
com.nitido.nim.ClassLoaderService
com.nitido.nimx.services.classloader.simple.ClassLoaderServiceImpl
public class ClassLoaderServiceImpl
This class provides a simple ClassLoaderService implementation that uses the ClassLoader that loaded the NiMKernel.
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
ClassLoaderServiceImpl(NiMKernelServiceVisa visa)
The constructor of ClassLoaderService. |
|
| Method Summary | |
|---|---|
java.lang.ClassLoader |
getClassLoader()
This method returns the NiM class loader used to load classes. |
java.lang.ClassLoader |
getSystemClassLoader()
This method returns the class loader that loaded the NiMKernel instance. |
protected void |
init(NiMKernel kernel,
ConfigurationService confService)
This method is used by the NiMKernel to initialize the ClassLoaderService. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ClassLoaderServiceImpl(NiMKernelServiceVisa visa)
visa - Reference to the NiMKernelServiceVisa object required to
instantiate the service. This parameter is required to
ensure that only the NiMkernel can instantiate a reference
to this service.| Method Detail |
|---|
protected void init(NiMKernel kernel,
ConfigurationService confService)
throws InitializationFailedException,
NiMException
init in class ClassLoaderServicekernel - Reference to the kernel that instantiated this service.confService - Reference to the ConfigurationService.
InitializationFailedException - This exception is never thrown by this service
implementation.
NiMException - This exception is never thrown by this service
implementation.public java.lang.ClassLoader getClassLoader()
ClassLoaderService
getClassLoader in class ClassLoaderServicepublic java.lang.ClassLoader getSystemClassLoader()
ClassLoaderService
getSystemClassLoader in class ClassLoaderService
|
Nitido NiM 2.5 Java API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.