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 theRASManager
.
-
-
Method Summary
Methods Modifier and Type Method and Description void
addDataStore(RASIDataStore store)
Deprecated.Adds aRASIDataStore
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 aRASIDataStore
from this manager.void
restoreConfig()
Deprecated.Restores theRASManager
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 theRASManager
configuration to persistent storage.void
setBaseGroup(RASBaseGroup baseGroup)
Deprecated.Sets the entire RAS configuration.
-
-
-
Method Detail
-
addDataStore
void addDataStore(RASIDataStore store)
Deprecated.Adds aRASIDataStore
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.
- Parameters:
store
- An object which implements theRASIDataStore
interface.
-
removeDataStore
void removeDataStore(RASIDataStore store)
Deprecated.Removes aRASIDataStore
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 theRASIDataStore
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 theRASManager
configuration from persistent storage. If the RAS Manager has not been given aRASIDataStore
to use, this method does nothing.- Throws:
RASIOException
-
saveConfig
void saveConfig() throws RASIOException
Deprecated.Saves theRASManager
configuration to persistent storage. If the RAS Manager has not been given aRASIDataStore
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 theRASGroup
.- 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
- TheRASGroup
.- 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 theRASGroup
.
-
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
- TheRASGroup
.
-
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 theRASGroup
.- 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
- TheRASGroup
.- 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 theRASGroup
.
-
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
- TheRASGroup
.
-
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 theRASGroup
.- 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
- TheRASGroup
.- 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 theRASGroup
.
-
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
- TheRASGroup
.
-
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 theRASGroup
.- 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
- TheRASGroup
.- 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 theRASGroup
.
-
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
- TheRASGroup
.
-
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.
-
-