|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ras.mgr.RASConfig
RASConfig
contains the configuration data for a RAS
object (a logger or handler).
A RASConfig
contains the following items:
Hashtable
of configuration data for the object,
as described in the getConfig
and setConfig
methods of the RASObject
classes. This data is passed
to the RAS object when it is created.
RASObject
, once the object has
been created.
RASManager
,
RASILogger
,
RASIHandler
Constructor Summary | |
RASConfig(java.util.Hashtable config)
Creates a RASConfig . |
Method Summary | |
int |
decrementInUseCount()
Decrements by one the number of applications which are currently using this RAS object. |
java.util.Hashtable |
getConfig()
Gets the configuration data held by this object. |
int |
getInUseCount()
Gets the number of applications which are currently using this RAS object. |
RASObject |
getObject()
Gets a reference to the RAS object created from this configuration. |
int |
incrementInUseCount()
Increments by one the number of applications which are currently using this RAS object. |
void |
setConfig(java.util.Hashtable config)
Sets the configuration data held by this object. |
void |
setInUseCount(int count)
Sets the number of applications which are currently using this RAS object. |
void |
setObject(RASObject object)
Sets a reference to the RAS object created from this configuration. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public RASConfig(java.util.Hashtable config)
RASConfig
.config
- A Hashtable
of configuration data for a
RASObject
.Method Detail |
public java.util.Hashtable getConfig()
Hashtable
of configuration data for a
RASObject
.public void setConfig(java.util.Hashtable config)
config
- A Hashtable
of configuration data for a
RASObject
.public int getInUseCount()
public void setInUseCount(int count)
count
- The in-use count.public int incrementInUseCount()
public int decrementInUseCount()
public RASObject getObject()
RASObject
.public void setObject(RASObject object)
object
- The RASObject
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |