com.ibm.ras.mgr

Interface RASIManager

All known implementing classes:
RASManager

Deprecated. As of WAS 6.0, recommend using java.util.logging
  1. public interface RASIManager
RASIManager describes the interface implemented by the RASManager.

Method Summary

Modifier and Type Method and Description
  1. void
addDataStore(RASIDataStore store)
Deprecated. Adds a RASIDataStore to this manager.
  1. RASBaseGroup
getBaseGroup()
Deprecated. Gets the entire RAS configuration.
  1. java.util.Enumeration
getDataStores()
Deprecated. Gets the data store objects in use by this manager.
  1. RASIFormatter
getFormatter(java.lang.String name)
Deprecated. Gets a formatter from the base group.
  1. RASIFormatter
getFormatter(java.lang.String name,RASGroup group)
Deprecated. Gets a formatter from a group.
  1. RASIFormatter
getFormatter(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a formatter from the named group.
  1. RASIHandler
getHandler(java.lang.String name)
Deprecated. Gets a handler from the base group.
  1. RASIHandler
getHandler(java.lang.String name,RASGroup group)
Deprecated. Gets a handler from a group.
  1. RASIHandler
getHandler(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a handler from the named group.
  1. RASIMessageLogger
getMessageLogger(java.lang.String name)
Deprecated. Gets a message logger from the base group.
  1. RASIMessageLogger
getMessageLogger(java.lang.String name,RASGroup group)
Deprecated. Gets a message logger from a group.
  1. RASIMessageLogger
getMessageLogger(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a message logger from the named group.
  1. RASITraceLogger
getTraceLogger(java.lang.String name)
Deprecated. Gets a trace logger from the base group.
  1. RASITraceLogger
getTraceLogger(java.lang.String name,RASGroup group)
Deprecated. Gets a trace logger from a group.
  1. RASITraceLogger
getTraceLogger(java.lang.String name,java.lang.String groupName)
Deprecated. Gets a trace logger from the named group.
  1. void
removeDataStore(RASIDataStore store)
Deprecated. Removes a RASIDataStore from this manager.
  1. void
restoreConfig()
Deprecated. Restores the RASManager configuration from persistent storage.
  1. void
returnFormatter(RASIFormatter formatter)
Deprecated. Returns a formatter to the base group.
  1. void
returnFormatter(RASIFormatter formatter,RASGroup group)
Deprecated. Returns a formatter to a group.
  1. void
returnFormatter(RASIFormatter formatter,java.lang.String groupName)
Deprecated. Returns a formatter to the named group.
  1. void
returnHandler(RASIHandler handler)
Deprecated. Returns a handler to the base group.
  1. void
returnHandler(RASIHandler handler,RASGroup group)
Deprecated. Returns a handler to a group.
  1. void
returnHandler(RASIHandler handler,java.lang.String groupName)
Deprecated. Returns a handler to the named group.
  1. void
returnMessageLogger(RASIMessageLogger logger)
Deprecated. Returns a message logger to the base group.
  1. void
returnMessageLogger(RASIMessageLogger logger,RASGroup group)
Deprecated. Returns a message logger to a group.
  1. void
returnMessageLogger(RASIMessageLogger logger,java.lang.String groupName)
Deprecated. Returns a message logger to the named group.
  1. void
returnTraceLogger(RASITraceLogger logger)
Deprecated. Returns a trace logger to the base group.
  1. void
returnTraceLogger(RASITraceLogger logger,RASGroup group)
Deprecated. Returns a trace logger to a group.
  1. void
returnTraceLogger(RASITraceLogger logger,java.lang.String groupName)
Deprecated. Returns a trace logger to the named group.
  1. void
saveConfig()
Deprecated. Saves the RASManager configuration to persistent storage.
  1. void
setBaseGroup(RASBaseGroup baseGroup)
Deprecated. Sets the entire RAS configuration.

Method Detail

addDataStore

  1. void addDataStore(RASIDataStore store)
Deprecated.
Adds a RASIDataStore to this manager. After adding a data store, use restoreConfig 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.

Parameters:
store - An object which implements the RASIDataStore interface.

removeDataStore

  1. void removeDataStore(RASIDataStore store)
Deprecated.
Removes a 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.

Parameters:
store - An object which implements the RASIDataStore interface.

getDataStores

  1. java.util.Enumeration getDataStores( )
Deprecated.
Gets the data store objects in use by this manager.

Only one data store is supported in this implementation. It is returned in a Vector (to support future enhancements).

Returns:
An Enumeration of data stores.

restoreConfig

  1. void restoreConfig()
  2. throws RASIOException
Deprecated.
Restores the RASManager configuration from persistent storage. If the RAS Manager has not been given a RASIDataStore to use, this method does nothing.
Throws:

saveConfig

  1. void saveConfig()
  2. throws RASIOException
Deprecated.
Saves the RASManager configuration to persistent storage. If the RAS Manager has not been given a RASIDataStore to use, this method does nothing.
Throws:

getMessageLogger

  1. RASIMessageLogger getMessageLogger( java.lang.String name)
Deprecated.
Gets a message logger from the base 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.

Parameters:
name - The name of the message logger.
Returns:
A message logger or null if the requested logger was not found.

getMessageLogger

  1. RASIMessageLogger getMessageLogger( java.lang.String name,
  2. java.lang.String groupName)
Deprecated.
Gets a message logger from the named 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.

Parameters:
name - The name of the message logger.
groupName - The name of the RASGroup.
Returns:
A message logger or null if the requested logger was not found.

getMessageLogger

  1. RASIMessageLogger getMessageLogger( java.lang.String name,
  2. RASGroup group)
Deprecated.
Gets a message logger from a 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.

Parameters:
name - The name of the message logger.
group - The RASGroup.
Returns:
A message logger or null if the requested logger was not found.

returnMessageLogger

  1. void returnMessageLogger(RASIMessageLogger logger)
Deprecated.
Returns a message logger to the base 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.

Parameters:
logger - The logger being returned.

returnMessageLogger

  1. void returnMessageLogger(RASIMessageLogger logger,
  2. java.lang.String groupName)
Deprecated.
Returns a message logger to the named 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.

Parameters:
logger - The logger being returned.
groupName - The name of the RASGroup.

returnMessageLogger

  1. void returnMessageLogger(RASIMessageLogger logger,
  2. RASGroup group)
Deprecated.
Returns a message logger to a 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.

Parameters:
logger - The logger being returned.
group - The RASGroup.

getTraceLogger

  1. RASITraceLogger getTraceLogger( java.lang.String name)
Deprecated.
Gets a trace logger from the base 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.

Parameters:
name - The name of the trace logger.
Returns:
A trace logger or null if the requested logger was not found.

getTraceLogger

  1. RASITraceLogger getTraceLogger( java.lang.String name,
  2. java.lang.String groupName)
Deprecated.
Gets a trace logger from the named 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.

Parameters:
name - The name of the trace logger.
groupName - The name of the RASGroup.
Returns:
A trace logger or null if the requested logger was not found.

getTraceLogger

  1. RASITraceLogger getTraceLogger( java.lang.String name,
  2. RASGroup group)
Deprecated.
Gets a trace logger from a 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.

Parameters:
name - The name of the trace logger.
group - The RASGroup.
Returns:
A trace logger or null if the requested logger was not found.

returnTraceLogger

  1. void returnTraceLogger(RASITraceLogger logger)
Deprecated.
Returns a trace logger to the base 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.

Parameters:
logger - The logger being returned.

returnTraceLogger

  1. void returnTraceLogger(RASITraceLogger logger,
  2. java.lang.String groupName)
Deprecated.
Returns a trace logger to the named 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.

Parameters:
logger - The logger being returned.
groupName - The name of the RASGroup.

returnTraceLogger

  1. void returnTraceLogger(RASITraceLogger logger,
  2. RASGroup group)
Deprecated.
Returns a trace logger to a 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.

Parameters:
logger - The logger being returned.
group - The RASGroup.

getHandler

  1. RASIHandler getHandler(java.lang.String name)
Deprecated.
Gets a handler from the base 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.

Parameters:
name - The name of the handler.
Returns:
A handler or null if the requested handler was not found.

getHandler

  1. RASIHandler getHandler(java.lang.String name,
  2. java.lang.String groupName)
Deprecated.
Gets a handler from the named 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.

Parameters:
name - The name of the handler.
groupName - The name of the RASGroup.
Returns:
A handler or null if the requested handler was not found.

getHandler

  1. RASIHandler getHandler(java.lang.String name,
  2. RASGroup group)
Deprecated.
Gets a handler from a 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.

Parameters:
name - The name of the handler.
group - The RASGroup.
Returns:
A handler or null if the requested handler was not found.

returnHandler

  1. void returnHandler(RASIHandler handler)
Deprecated.
Returns a handler to the base 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.

Parameters:
handler - The handler being returned.

returnHandler

  1. void returnHandler(RASIHandler handler,
  2. java.lang.String groupName)
Deprecated.
Returns a handler to the named 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.

Parameters:
handler - The handler being returned.
groupName - The name of the RASGroup.

returnHandler

  1. void returnHandler(RASIHandler handler,
  2. RASGroup group)
Deprecated.
Returns a handler to a 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.

Parameters:
handler - The handler being returned.
group - The RASGroup.

getFormatter

  1. RASIFormatter getFormatter(java.lang.String name)
Deprecated.
Gets a formatter from the base 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.

Parameters:
name - The name of the formatter.
Returns:
A formatter or null if the requested formatter was not found.

getFormatter

  1. RASIFormatter getFormatter(java.lang.String name,
  2. java.lang.String groupName)
Deprecated.
Gets a formatter from the named 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.

Parameters:
name - The name of the formatter.
groupName - The name of the RASGroup.
Returns:
A formatter or null if the requested formatter was not found.

getFormatter

  1. RASIFormatter getFormatter(java.lang.String name,
  2. RASGroup group)
Deprecated.
Gets a formatter from a 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.

Parameters:
name - The name of the formatter.
group - The RASGroup.
Returns:
A formatter or null if the requested formatter was not found.

returnFormatter

  1. void returnFormatter(RASIFormatter formatter)
Deprecated.
Returns a formatter to the base 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.

Parameters:
formatter - The formatter being returned.

returnFormatter

  1. void returnFormatter(RASIFormatter formatter,
  2. java.lang.String groupName)
Deprecated.
Returns a formatter to the named 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.

Parameters:
formatter - The formatter being returned.
groupName - The name of the RASGroup.

returnFormatter

  1. void returnFormatter(RASIFormatter formatter,
  2. RASGroup group)
Deprecated.
Returns a formatter to a 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.

Parameters:
formatter - The formatter being returned.
group - The RASGroup.

getBaseGroup

  1. RASBaseGroup getBaseGroup()
Deprecated.
Gets the entire RAS configuration.
Returns:
The base RAS group containing the entire configuration.

setBaseGroup

  1. void setBaseGroup(RASBaseGroup baseGroup)
Deprecated.
Sets the entire RAS configuration.
Parameters:
baseGroup - The base RAS group containing the entire configuration.