Interface RASIManager
-
- All Known Implementing Classes:
- RASManager
Deprecated.As of WAS 6.0, recommend using java.util.logging
public interface RASIManagerRASIManagerdescribes the interface implemented by theRASManager.
-
-
Method Summary
Methods Modifier and Type Method and Description voidaddDataStore(RASIDataStore store)Deprecated.Adds aRASIDataStoreto this manager.RASBaseGroupgetBaseGroup()Deprecated.Gets the entire RAS configuration.java.util.EnumerationgetDataStores()Deprecated.Gets the data store objects in use by this manager.RASIFormattergetFormatter(java.lang.String name)Deprecated.Gets a formatter from the base group.RASIFormattergetFormatter(java.lang.String name, RASGroup group)Deprecated.Gets a formatter from a group.RASIFormattergetFormatter(java.lang.String name, java.lang.String groupName)Deprecated.Gets a formatter from the named group.RASIHandlergetHandler(java.lang.String name)Deprecated.Gets a handler from the base group.RASIHandlergetHandler(java.lang.String name, RASGroup group)Deprecated.Gets a handler from a group.RASIHandlergetHandler(java.lang.String name, java.lang.String groupName)Deprecated.Gets a handler from the named group.RASIMessageLoggergetMessageLogger(java.lang.String name)Deprecated.Gets a message logger from the base group.RASIMessageLoggergetMessageLogger(java.lang.String name, RASGroup group)Deprecated.Gets a message logger from a group.RASIMessageLoggergetMessageLogger(java.lang.String name, java.lang.String groupName)Deprecated.Gets a message logger from the named group.RASITraceLoggergetTraceLogger(java.lang.String name)Deprecated.Gets a trace logger from the base group.RASITraceLoggergetTraceLogger(java.lang.String name, RASGroup group)Deprecated.Gets a trace logger from a group.RASITraceLoggergetTraceLogger(java.lang.String name, java.lang.String groupName)Deprecated.Gets a trace logger from the named group.voidremoveDataStore(RASIDataStore store)Deprecated.Removes aRASIDataStorefrom this manager.voidrestoreConfig()Deprecated.Restores theRASManagerconfiguration from persistent storage.voidreturnFormatter(RASIFormatter formatter)Deprecated.Returns a formatter to the base group.voidreturnFormatter(RASIFormatter formatter, RASGroup group)Deprecated.Returns a formatter to a group.voidreturnFormatter(RASIFormatter formatter, java.lang.String groupName)Deprecated.Returns a formatter to the named group.voidreturnHandler(RASIHandler handler)Deprecated.Returns a handler to the base group.voidreturnHandler(RASIHandler handler, RASGroup group)Deprecated.Returns a handler to a group.voidreturnHandler(RASIHandler handler, java.lang.String groupName)Deprecated.Returns a handler to the named group.voidreturnMessageLogger(RASIMessageLogger logger)Deprecated.Returns a message logger to the base group.voidreturnMessageLogger(RASIMessageLogger logger, RASGroup group)Deprecated.Returns a message logger to a group.voidreturnMessageLogger(RASIMessageLogger logger, java.lang.String groupName)Deprecated.Returns a message logger to the named group.voidreturnTraceLogger(RASITraceLogger logger)Deprecated.Returns a trace logger to the base group.voidreturnTraceLogger(RASITraceLogger logger, RASGroup group)Deprecated.Returns a trace logger to a group.voidreturnTraceLogger(RASITraceLogger logger, java.lang.String groupName)Deprecated.Returns a trace logger to the named group.voidsaveConfig()Deprecated.Saves theRASManagerconfiguration to persistent storage.voidsetBaseGroup(RASBaseGroup baseGroup)Deprecated.Sets the entire RAS configuration.
-
-
-
Method Detail
-
addDataStore
void addDataStore(RASIDataStore store)
Deprecated.Adds aRASIDataStoreto this manager. After adding a data store, userestoreConfigto 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 theRASIDataStoreinterface.
-
removeDataStore
void removeDataStore(RASIDataStore store)
Deprecated.Removes aRASIDataStorefrom 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 theRASIDataStoreinterface.
-
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
Enumerationof data stores.
-
restoreConfig
void restoreConfig() throws RASIOExceptionDeprecated.Restores theRASManagerconfiguration from persistent storage. If the RAS Manager has not been given aRASIDataStoreto use, this method does nothing.- Throws:
RASIOException
-
saveConfig
void saveConfig() throws RASIOExceptionDeprecated.Saves theRASManagerconfiguration to persistent storage. If the RAS Manager has not been given aRASIDataStoreto 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
getHandlermethod.- Parameters:
name- The name of the message logger.- Returns:
- A message logger or
nullif 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
getHandlermethod.- Parameters:
name- The name of the message logger.groupName- The name of theRASGroup.- Returns:
- A message logger or
nullif 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
getHandlermethod.- Parameters:
name- The name of the message logger.group- TheRASGroup.- Returns:
- A message logger or
nullif 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
returnHandlermethod.- 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
returnHandlermethod.- 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
returnHandlermethod.- 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
getHandlermethod.- Parameters:
name- The name of the trace logger.- Returns:
- A trace logger or
nullif 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
getHandlermethod.- Parameters:
name- The name of the trace logger.groupName- The name of theRASGroup.- Returns:
- A trace logger or
nullif 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
getHandlermethod.- Parameters:
name- The name of the trace logger.group- TheRASGroup.- Returns:
- A trace logger or
nullif 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
returnHandlermethod.- 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
returnHandlermethod.- 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
returnHandlermethod.- 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
getHandlermethod.- Parameters:
name- The name of the handler.- Returns:
- A handler or
nullif 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
getHandlermethod.- Parameters:
name- The name of the handler.groupName- The name of theRASGroup.- Returns:
- A handler or
nullif 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
getHandlermethod.- Parameters:
name- The name of the handler.group- TheRASGroup.- Returns:
- A handler or
nullif 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
returnHandlermethod.- 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
returnHandlermethod.- 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
returnHandlermethod.- 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
getFormattermethod.- Parameters:
name- The name of the formatter.- Returns:
- A formatter or
nullif 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
getFormattermethod.- Parameters:
name- The name of the formatter.groupName- The name of theRASGroup.- Returns:
- A formatter or
nullif 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
getFormattermethod.- Parameters:
name- The name of the formatter.group- TheRASGroup.- Returns:
- A formatter or
nullif 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
returnFormattermethod.- 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
returnFormattermethod.- 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
returnFormattermethod.- 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.
-
-