wt.wrmf.logs
Class StandardLogService

java.lang.Object
  extended bywt.services.StandardManager
      extended bywt.wrmf.logs.StandardLogService
All Implemented Interfaces:
LogService, Manager, NetFactor, Serializable

public class StandardLogService
extends StandardManager
implements LogService, Serializable

Use the newStandardLogService static factory method(s), not the StandardLogService constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: false

Extendable: false

See Also:
Serialized Form

Field Summary
private static String CLASSNAME
           
private static String RESOURCE
           
 
Fields inherited from class wt.services.StandardManager
 
Fields inherited from interface wt.services.Manager
MANAGER_SERVICE, STARTUP_AUTOMATIC, STARTUP_MANUAL, STATUS_EMERGENCY_SHUTDOWN, STATUS_EMERGENCY_SHUTTING_DOWN, STATUS_SHUTDOWN, STATUS_SHUTDOWN_ERRORS, STATUS_SHUTDOWN_FAILURE, STATUS_SHUTTING_DOWN, STATUS_STARTED, STATUS_STARTED_ERRORS, STATUS_STARTING_UP, STATUS_STARTUP_FAILURE
 
Constructor Summary
StandardLogService()
           
 
Method Summary
 EventLog createLog(String name)
          

Supported API: false
 void deleteLog(EventLog log)
          

Supported API: false
 String getConceptualClassname()
          Deprecated.  
 EventLog getLog(String name)
          

Supported API: false
protected  EventLog lockLog(EventLog log)
           
static StandardLogService newStandardLogService()
          Default factory for the class.
 EventLog writeRecord(EventLog log, LogRecord record)
          

Supported API: false
 
Methods inherited from class wt.services.StandardManager
emergencyShutdown, emergencyShutdownComplete, emergencyShuttingDown, getClassInfo, getManagerService, getManagerStatus, getName, getStartupType, init, initialize, initialize, isStarted, newStandardManager, newStandardManager, performEmergencyShutdownProcess, performShutdownProcess, performStartupProcess, registerEvents, setManagerService, shutdown, shutdownFailure, shutdownSuccess, shuttingDown, started, startedErrors, startingUp, startup, startupFailure, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

CLASSNAME

private static final String CLASSNAME
Constructor Detail

StandardLogService

public StandardLogService()
Method Detail

getConceptualClassname

public String getConceptualClassname()
Deprecated.  

Returns the conceptual (modeled) name for the class.

Supported API: false

Specified by:
getConceptualClassname in interface NetFactor
Overrides:
getConceptualClassname in class StandardManager
Returns:
String

newStandardLogService

public static StandardLogService newStandardLogService()
                                                throws WTException
Default factory for the class.

Supported API: false

Returns:
StandardLogService
Throws:
WTException

writeRecord

public EventLog writeRecord(EventLog log,
                            LogRecord record)
                     throws WTException


Supported API: false

Specified by:
writeRecord in interface LogService
Parameters:
log -
record -
Returns:
EventLog
Throws:
WTException

createLog

public EventLog createLog(String name)
                   throws WTException


Supported API: false

Specified by:
createLog in interface LogService
Parameters:
name -
Returns:
EventLog
Throws:
WTException

deleteLog

public void deleteLog(EventLog log)
               throws WTException


Supported API: false

Specified by:
deleteLog in interface LogService
Parameters:
log -
Throws:
WTException

getLog

public EventLog getLog(String name)
                throws WTException


Supported API: false

Specified by:
getLog in interface LogService
Parameters:
name -
Returns:
EventLog
Throws:
WTException

lockLog

protected EventLog lockLog(EventLog log)
                    throws WTException,
                           WTPropertyVetoException,
                           InterruptedException
Throws:
WTException
WTPropertyVetoException
InterruptedException