IBM WebSphere Application ServerTM
Release 8

com.ibm.ras.mgr
Interface RASIManager

All Known Implementing Classes:
RASManager

Deprecated. As of WAS 6.0, recommend using java.util.logging

public interface RASIManager

RASIManager describes the interface implemented by the RASManager.


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

Method Detail

addDataStore

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

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

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

void restoreConfig()
                   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:
RASIOException

saveConfig

void saveConfig()
                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:
RASIOException

getMessageLogger

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

RASIMessageLogger getMessageLogger(java.lang.String name,
                                   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

RASIMessageLogger getMessageLogger(java.lang.String name,
                                   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

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

void returnMessageLogger(RASIMessageLogger logger,
                         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

void returnMessageLogger(RASIMessageLogger logger,
                         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

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

RASITraceLogger getTraceLogger(java.lang.String name,
                               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

RASITraceLogger getTraceLogger(java.lang.String name,
                               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

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

void returnTraceLogger(RASITraceLogger logger,
                       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

void returnTraceLogger(RASITraceLogger logger,
                       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

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

RASIHandler getHandler(java.lang.String name,
                       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

RASIHandler getHandler(java.lang.String name,
                       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

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

void returnHandler(RASIHandler handler,
                   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

void returnHandler(RASIHandler handler,
                   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

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

RASIFormatter getFormatter(java.lang.String name,
                           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

RASIFormatter getFormatter(java.lang.String name,
                           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

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

void returnFormatter(RASIFormatter formatter,
                     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

void returnFormatter(RASIFormatter formatter,
                     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

RASBaseGroup getBaseGroup()
Deprecated. 
Gets the entire RAS configuration.

Returns:
The base RAS group containing the entire configuration.

setBaseGroup

void setBaseGroup(RASBaseGroup baseGroup)
Deprecated. 
Sets the entire RAS configuration.

Parameters:
baseGroup - The base RAS group containing the entire configuration.

IBM WebSphere Application ServerTM
Release 8