|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.RASObject
RASObject defines the methods which are common to the
RASLogger
, RASHandler and
RASFormatter} classes.
It should not be necessary to create an instance of this class directly.
The elements common to loggers and handlers include:
Constructor Summary | |
---|---|
RASObject()
Creates a RASObject. |
|
RASObject(java.lang.String name)
Creates a RASObject. |
|
RASObject(java.lang.String name,
java.lang.String desc)
Creates a RASObject. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Creates a new RASObject. |
java.util.Hashtable |
getConfig()
Gets the configuration of this object. |
java.lang.String |
getDescription()
Gets the description of this object. |
java.lang.String |
getGroup()
Gets the name of the RASManager group with which this object is associated. |
java.lang.String |
getName()
Gets the name by which this object is known. |
protected void |
init()
Initializes this object, setting default values. |
void |
setConfig(java.util.Hashtable ht)
Sets the configuration of this object. |
void |
setDescription(java.lang.String desc)
Sets the description of this object. |
void |
setName(java.lang.String name)
Sets the name by which this object is known. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RASObject()
public RASObject(java.lang.String name)
name
- The name of this object.public RASObject(java.lang.String name, java.lang.String desc)
name
- The name of this object.desc
- The description of this object.Method Detail |
public java.lang.Object clone()
clone
in class java.lang.Object
protected void init()
public java.util.Hashtable getConfig()
getConfig
in interface RASIObject
All values are Strings. Extensions to this object may add additional keys. The className and group keys are kept only to maintain the integrity of the configuration. They are used by the RAS Manager.
public void setConfig(java.util.Hashtable ht)
setConfig
in interface RASIObject
ht
- A Hashtable containing the configuration.
This object searches for the following keys:
All values are Strings. If a key is not found, an internal default for that element is set instead. Extensions to this object may use additional keys. The className and group keys are kept only to maintain the integrity of the configuration. They are used by the RAS Manager.
public java.lang.String getName()
getName
in interface RASIObject
public void setName(java.lang.String name)
setName
in interface RASIObject
name
- The name of this object.public java.lang.String getDescription()
getDescription
in interface RASIObject
public void setDescription(java.lang.String desc)
setDescription
in interface RASIObject
desc
- The description of this object.public java.lang.String getGroup()
getGroup
in interface RASIObject
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |