|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object toolbox.services.BaseService toolbox.services.ws.WSClientService toolbox.services.util.logging.LoggingServiceWSClientImpl
public class LoggingServiceWSClientImpl
Client side implementation of the LoggingService. This implementation enables clients to consume the LogginService as a web service.
Constructor Summary | |
---|---|
LoggingServiceWSClientImpl()
Default constuctor. |
Method Summary | |
---|---|
void |
create(java.lang.String name,
java.lang.String confHome,
ServiceEnvironment env,
XMLProperties xmlProps)
Obtain a reference to the web service implementation through the super class getServiceObject() method. |
void |
log(LogMessage message)
Log the given message using the level set on the message. |
void |
logError(LogMessage message)
Log the given message as an error (ERROR). |
void |
logFatal(LogMessage message)
Log the given message as fatal (FATAL). |
void |
logInfo(LogMessage message)
Log the given message as informational (INFO). |
void |
logWarning(LogMessage message)
Log the given message as a warning (WARN). |
Methods inherited from class toolbox.services.ws.WSClientService |
---|
clearMessageID, destroy, getMessageID, getServiceObject, setBus, setPassword, setSimpleUDDIService, setUser |
Methods inherited from class toolbox.services.BaseService |
---|
getConfigHome, getName, getProperties, getProperty, getXMLProperties, logConfig, logFine, logFiner, logFinest, logInfo, logSevere, logWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LoggingServiceWSClientImpl()
Method Detail |
---|
public void create(java.lang.String name, java.lang.String confHome, ServiceEnvironment env, XMLProperties xmlProps) throws ServiceException
create
in interface Service
create
in class WSClientService
name
- The name of the service.confHome
- The path to the configuration home directory.env
- ServiceEnvironment of this service.xmlProps
- XML configuration properties.
ServiceException
- if the service cannot be created.public void logInfo(LogMessage message)
logInfo
in interface LoggingService
message
- LogMessage to log.public void logWarning(LogMessage message)
logWarning
in interface LoggingService
message
- LogMessage to log.public void logError(LogMessage message)
logError
in interface LoggingService
message
- LogMessage to log.public void logFatal(LogMessage message)
logFatal
in interface LoggingService
message
- LogMessage to log.public void log(LogMessage message)
log
in interface LoggingService
message
- LogMessage to log.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |