|
![]() |
|||||||||
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.LogService
public abstract class LogService
LogService is the NiMKernel module responsible for initializing and instantiating the NiM Logger.
Field Summary |
---|
Constructor Summary | |
---|---|
LogService(NiMKernelServiceVisa visa)
This class constructor is used by NiMKernel to instantiate a new LogService. |
Method Summary | |
---|---|
abstract Logger |
getLogger(java.lang.Class clazz)
This method returns a reference to the NiM Logger object for the given class. |
abstract Logger |
getLogger(java.lang.String name)
This method returns a reference to the NiM Logger object for the given class name. |
protected abstract void |
init(NiMKernel kernel,
ConfigurationService confService)
This method is used to initialize the kernel service. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LogService(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 abstract void init(NiMKernel kernel, ConfigurationService confService) throws InitializationFailedException, NiMException
NiMKernelService
init
in class NiMKernelService
kernel
- Reference to the NiMKernel object that instantiated the
service.confService
- A reference to the configuration service. All the service
implementations (except ConfigurationService)
should retrieve the setting information from it.
InitializationFailedException
- If unable to initialize the kernel service.
NiMException
- If service initialization can not be done due to failure in
establish a connection to the back-end service. Not all
service implementation will throw this exception.public abstract Logger getLogger(java.lang.String name)
name
- The class name of the object requesting the logger.
Logger
public abstract Logger getLogger(java.lang.Class clazz)
clazz
- The class reference of the object requesting the logger.
|
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.