com.ibm.ras.mgr
Interface RASIManager
Deprecated. As of WAS 6.0, recommend using java.util.logging
- public interface RASIManager
RASIManager
describes the interface implemented by the
RASManager
.
Method Summary
Modifier and Type | Method and Description |
---|---|
|
addDataStore(RASIDataStore store)
Deprecated. Adds a
RASIDataStore to this manager.
|
getBaseGroup()
Deprecated. Gets the entire RAS configuration.
|
|
|
getDataStores()
Deprecated. Gets the data store objects in use by this manager.
|
getFormatter(java.lang.String name)
Deprecated. Gets a formatter from the base group.
|
|
getFormatter(java.lang.String name,RASGroup group)
Deprecated. Gets a formatter from a group.
|
|
getFormatter(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a formatter from the named group.
|
|
getHandler(java.lang.String name)
Deprecated. Gets a handler from the base group.
|
|
getHandler(java.lang.String name,RASGroup group)
Deprecated. Gets a handler from a group.
|
|
getHandler(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a handler from the named group.
|
|
getMessageLogger(java.lang.String name)
Deprecated. Gets a message logger from the base group.
|
|
getMessageLogger(java.lang.String name,RASGroup group)
Deprecated. Gets a message logger from a group.
|
|
getMessageLogger(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a message logger from the named group.
|
|
getTraceLogger(java.lang.String name)
Deprecated. Gets a trace logger from the base group.
|
|
getTraceLogger(java.lang.String name,RASGroup group)
Deprecated. Gets a trace logger from a group.
|
|
getTraceLogger(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a trace logger from the named group.
|
|
|
removeDataStore(RASIDataStore store)
Deprecated. Removes a
RASIDataStore from this manager.
|
|
restoreConfig()
Deprecated. Restores the
RASManager configuration from persistent
storage.
|
|
returnFormatter(RASIFormatter formatter)
Deprecated. Returns a formatter to the base group.
|
|
returnFormatter(RASIFormatter formatter,RASGroup group)
Deprecated. Returns a formatter to a group.
|
|
returnFormatter(RASIFormatter formatter,java.lang.String groupName)
Deprecated. Returns a formatter to the named group.
|
|
returnHandler(RASIHandler handler)
Deprecated. Returns a handler to the base group.
|
|
returnHandler(RASIHandler handler,RASGroup group)
Deprecated. Returns a handler to a group.
|
|
returnHandler(RASIHandler handler,java.lang.String groupName)
Deprecated. Returns a handler to the named group.
|
|
returnMessageLogger(RASIMessageLogger logger)
Deprecated. Returns a message logger to the base group.
|
|
returnMessageLogger(RASIMessageLogger logger,RASGroup group)
Deprecated. Returns a message logger to a group.
|
|
returnMessageLogger(RASIMessageLogger logger,java.lang.String groupName)
Deprecated. Returns a message logger to the named group.
|
|
returnTraceLogger(RASITraceLogger logger)
Deprecated. Returns a trace logger to the base group.
|
|
returnTraceLogger(RASITraceLogger logger,RASGroup group)
Deprecated. Returns a trace logger to a group.
|
|
returnTraceLogger(RASITraceLogger logger,java.lang.String groupName)
Deprecated. Returns a trace logger to the named group.
|
|
saveConfig()
Deprecated. Saves the
RASManager configuration to persistent
storage.
|
|
setBaseGroup(RASBaseGroup baseGroup)
Deprecated. Sets the entire RAS configuration.
|
Method Detail
addDataStore
- void addDataStore(RASIDataStore store)
store
- An object which implements the RASIDataStore
interface. removeDataStore
- void removeDataStore(RASIDataStore store)
RASIDataStore
from this manager.
Only one data store is supported in this implementation. If the requested store is in use, it is removed. Otherwise, nothing is changed.
store
- An object which implements the RASIDataStore
interface. getDataStores
- java.util.Enumeration getDataStores( )
Only one data store is supported in this implementation. It is
returned in a Vector
(to support future enhancements).
Enumeration
of data stores. restoreConfig
- void restoreConfig()
- throws RASIOException
RASManager
configuration from persistent
storage. If the RAS Manager has not been given a
RASIDataStore
to use, this method does nothing.
saveConfig
- void saveConfig()
- throws RASIOException
RASManager
configuration to persistent
storage. If the RAS Manager has not been given a
RASIDataStore
to use, this method does nothing.
getMessageLogger
- RASIMessageLogger getMessageLogger( java.lang.String name)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the message logger. null
if the requested
logger was not found. getMessageLogger
- RASIMessageLogger getMessageLogger( java.lang.String name,
- java.lang.String groupName)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the message logger. groupName
- The name of the RASGroup
. null
if the requested
logger was not found. getMessageLogger
- RASIMessageLogger getMessageLogger( java.lang.String name,
- RASGroup group)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the message logger. group
- The RASGroup
. null
if the requested
logger was not found. returnMessageLogger
- void returnMessageLogger(RASIMessageLogger logger)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
logger
- The logger being returned. returnMessageLogger
- void returnMessageLogger(RASIMessageLogger logger,
- java.lang.String groupName)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
returnMessageLogger
- void returnMessageLogger(RASIMessageLogger logger,
- RASGroup group)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
getTraceLogger
- RASITraceLogger getTraceLogger( java.lang.String name)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the trace logger. null
if the requested
logger was not found. getTraceLogger
- RASITraceLogger getTraceLogger( java.lang.String name,
- java.lang.String groupName)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the trace logger. groupName
- The name of the RASGroup
. null
if the requested
logger was not found. getTraceLogger
- RASITraceLogger getTraceLogger( java.lang.String name,
- RASGroup group)
If the logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the trace logger. group
- The RASGroup
. null
if the requested
logger was not found. returnTraceLogger
- void returnTraceLogger(RASITraceLogger logger)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
logger
- The logger being returned. returnTraceLogger
- void returnTraceLogger(RASITraceLogger logger,
- java.lang.String groupName)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
returnTraceLogger
- void returnTraceLogger(RASITraceLogger logger,
- RASGroup group)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
getHandler
- RASIHandler getHandler(java.lang.String name)
If a logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the handler. null
if the requested
handler was not found. getHandler
- RASIHandler getHandler(java.lang.String name,
- java.lang.String groupName)
If a logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the handler. groupName
- The name of the RASGroup
. null
if the requested
handler was not found. getHandler
- RASIHandler getHandler(java.lang.String name,
- RASGroup group)
If a logger configuration includes handlers, they will
automatically be attached to the logger. It should not be necessary
for an application to use the getHandler
method.
name
- The name of the handler. group
- The RASGroup
. null
if the requested
handler was not found. returnHandler
- void returnHandler(RASIHandler handler)
If the logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
handler
- The handler being returned. returnHandler
- void returnHandler(RASIHandler handler,
- java.lang.String groupName)
If a logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
returnHandler
- void returnHandler(RASIHandler handler,
- RASGroup group)
If a logger configuration includes handlers, they will
automatically be detached from the logger. It should not be necessary
for an application to use the returnHandler
method.
getFormatter
- RASIFormatter getFormatter(java.lang.String name)
If a handler configuration includes formatters, they will
automatically be attached to the handler. It should not be necessary
for an application to use the getFormatter
method.
name
- The name of the formatter. null
if the requested
formatter was not found. getFormatter
- RASIFormatter getFormatter(java.lang.String name,
- java.lang.String groupName)
If a handler configuration includes formatters, they will
automatically be attached to the handler. It should not be necessary
for an application to use the getFormatter
method.
name
- The name of the formatter. groupName
- The name of the RASGroup
. null
if the requested
formatter was not found. getFormatter
- RASIFormatter getFormatter(java.lang.String name,
- RASGroup group)
If a handler configuration includes formatters, they will
automatically be attached to the handler. It should not be necessary
for an application to use the getFormatter
method.
name
- The name of the formatter. group
- The RASGroup
. null
if the requested
formatter was not found. returnFormatter
- void returnFormatter(RASIFormatter formatter)
If a handler configuration includes formatters, they will
automatically be detached from the handler. It should not be necessary
for an application to use the returnFormatter
method.
formatter
- The formatter being returned. returnFormatter
- void returnFormatter(RASIFormatter formatter,
- java.lang.String groupName)
If a handler configuration includes formatters, they will
automatically be detached from the handler. It should not be necessary
for an application to use the returnFormatter
method.
returnFormatter
- void returnFormatter(RASIFormatter formatter,
- RASGroup group)
If a handler configuration includes formatters, they will
automatically be detached from the handler. It should not be necessary
for an application to use the returnFormatter
method.
getBaseGroup
- RASBaseGroup getBaseGroup()
setBaseGroup
- void setBaseGroup(RASBaseGroup baseGroup)
baseGroup
- The base RAS group containing the entire configuration.
RASIDataStore
to this manager. After adding a data store, userestoreConfig
to restore the configuration from the data store.Only one data store is supported in this implementation. A new data store replaces the current store.