com.ibm.ras.mgr
Class RASBaseGroup
java.lang.Object
|
+--com.ibm.ras.RASObject
|
+--com.ibm.ras.mgr.RASGroup
|
+--com.ibm.ras.mgr.RASBaseGroup
- public class RASBaseGroup
- extends RASGroup
RASBaseGroup
is an extension of RASGroup
.
It includes additional RASGroups
as well as a set of
default handlers (which can be attached to a logger if the logger's
configuration does not include a handler).
- See Also:
RASGroup
,
RASManager
Method Summary |
void |
addGroup(RASGroup grp)
Adds a RAS group to this group. |
java.lang.String |
getDefaultHandlers()
Gets the default handlers, which will be associated with any
logger that does not have a "handlerNames" key in its configuration. |
RASGroup |
getGroup(java.lang.String name)
Gets a RAS group from this group. |
java.util.Hashtable |
getGroups()
Gets all of the RAS groups associated with this group. |
void |
removeGroup(RASGroup grp)
Removes a RAS group from this group. |
void |
setDefaultHandlers(java.lang.String names)
Sets the default handlers, which will be associated with any
logger that does not have a "handlerNames" key in its configuration. |
Methods inherited from class com.ibm.ras.mgr.RASGroup |
addFormatterConfig,
addHandlerConfig,
addMessageLoggerConfig,
addTraceLoggerConfig,
getFormatterConfig,
getFormatterConfigs,
getHandlerConfig,
getHandlerConfigs,
getMessageLoggerConfig,
getMessageLoggerConfigs,
getTraceLoggerConfig,
getTraceLoggerConfigs,
removeFormatterConfig,
removeHandlerConfig,
removeMessageLoggerConfig,
removeTraceLoggerConfig |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
RASBaseGroup
public RASBaseGroup()
- Creates a
RASBaseGroup
.
addGroup
public void addGroup(RASGroup grp)
- Adds a RAS group to this group. If a RAS group with the same name is
already a member of this base group, it is replaced.
- Parameters:
grp
- The RAS group to be added.
removeGroup
public void removeGroup(RASGroup grp)
- Removes a RAS group from this group. If the named group does not
exist, this method does nothing.
- Parameters:
grp
- The RAS group to be removed.
getGroup
public RASGroup getGroup(java.lang.String name)
- Gets a RAS group from this group.
- Parameters:
name
- The name of the RAS group.- Returns:
- The RAS group, or
null
if the named group does
not exist.
getGroups
public java.util.Hashtable getGroups()
- Gets all of the RAS groups associated with this group.
- Returns:
- A
Hashtable
of RAS groups.
getDefaultHandlers
public java.lang.String getDefaultHandlers()
- Gets the default handlers, which will be associated with any
logger that does not have a "handlerNames" key in its configuration.
- Returns:
- A blank delimited
String
of handler names.
setDefaultHandlers
public void setDefaultHandlers(java.lang.String names)
- Sets the default handlers, which will be associated with any
logger that does not have a "handlerNames" key in its configuration.
- Parameters:
names
- A blank delimited String
of handler names.