|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.RASObject | +--com.ibm.ras.mgr.RASGroup
RASGroup
organizes the configuration data for a related
set of RAS objects (loggers, handlers and formatters). An application
will typically group all of its RAS objects in a RAS group,
or set of RAS groups, to distinguish them from other RAS objects
controlled by the RASManager
. Data grouped in this
manner can be used by a graphical program to display RAS information
application-by-application.
A RAS group contains collections of the following items:
RASIMessageLogger
configurations
RASITraceLogger
configurations
RASIHandler
configurations
RASIFormatter
configurations
RASManager
Constructor Summary | |
RASGroup(java.lang.String name)
Creates a RASGroup . |
|
RASGroup(java.lang.String name,
java.lang.String desc)
Creates a RASGroup . |
Method Summary | |
void |
addFormatterConfig(RASConfig cfg)
Adds a formatter configuration to this group. |
void |
addHandlerConfig(RASConfig cfg)
Adds a handler configuration to this group. |
void |
addMessageLoggerConfig(RASConfig cfg)
Adds a message logger configuration to this group. |
void |
addTraceLoggerConfig(RASConfig cfg)
Adds a trace logger configuration to this group. |
RASConfig |
getFormatterConfig(java.lang.String name)
Gets a formatter configuration from this group. |
java.util.Hashtable |
getFormatterConfigs()
Gets all of the formatter configurations associated with this group. |
RASConfig |
getHandlerConfig(java.lang.String name)
Gets a handler configuration from this group. |
java.util.Hashtable |
getHandlerConfigs()
Gets all of the handler configurations associated with this group. |
RASConfig |
getMessageLoggerConfig(java.lang.String name)
Gets a message Logger configuration from this group. |
java.util.Hashtable |
getMessageLoggerConfigs()
Gets all of the message Logger configurations associated with this group. |
RASConfig |
getTraceLoggerConfig(java.lang.String name)
Gets a trace logger configuration from this group. |
java.util.Hashtable |
getTraceLoggerConfigs()
Gets all of the trace logger configurations associated with this group. |
void |
removeFormatterConfig(java.lang.String name)
Removes a formatter configuration from this group. |
void |
removeHandlerConfig(java.lang.String name)
Removes a handler configuration from this group. |
void |
removeMessageLoggerConfig(java.lang.String name)
Removes a message logger configuration from this group. |
void |
removeTraceLoggerConfig(java.lang.String name)
Removes a trace logger configuration from this group. |
Methods inherited from class com.ibm.ras.RASObject |
getConfig,
getDescription,
getName,
setConfig,
setDescription,
setName |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RASGroup(java.lang.String name)
RASGroup
. The description
of this object is an empty string.name
- The name of this object.public RASGroup(java.lang.String name, java.lang.String desc)
RASGroup
.name
- The name of this object.desc
- The description of this object.Method Detail |
public void addMessageLoggerConfig(RASConfig cfg)
cfg
- A RASConfig
containing the logger
configuration.public void removeMessageLoggerConfig(java.lang.String name)
name
- The name of the logger configuration.public RASConfig getMessageLoggerConfig(java.lang.String name)
name
- The name of the logger configuration.null
if
the named configuration does not exist.public java.util.Hashtable getMessageLoggerConfigs()
Hashtable
of RASConfig
objects.public void addTraceLoggerConfig(RASConfig cfg)
cfg
- A RASConfig
containing the logger
configuration.public void removeTraceLoggerConfig(java.lang.String name)
name
- The name of the logger configuration.public RASConfig getTraceLoggerConfig(java.lang.String name)
name
- The name of the logger configuration.null
if
the named configuration does not exist.public java.util.Hashtable getTraceLoggerConfigs()
Hashtable
of RASConfig
objects.public void addHandlerConfig(RASConfig cfg)
cfg
- A RASConfig
containing the handler
configuration.public void removeHandlerConfig(java.lang.String name)
name
- The name of the handler configuration.public RASConfig getHandlerConfig(java.lang.String name)
name
- The name of the handler configuration.null
if
the named configuration does not exist.public java.util.Hashtable getHandlerConfigs()
Hashtable
of RASConfig
objects.public void addFormatterConfig(RASConfig cfg)
cfg
- A RASConfig
containing the formatter
configuration.public void removeFormatterConfig(java.lang.String name)
name
- The name of the formatter configuration.public RASConfig getFormatterConfig(java.lang.String name)
name
- The name of the formatter configuration.null
if
the named configuration does not exist.public java.util.Hashtable getFormatterConfigs()
Hashtable
of RASConfig
objects.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |