|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Dictionary<K,V>
java.util.Hashtable
com.ibm.ras.mgr.RASConfig
public class RASConfig
RASConfig
contains the configuration data for a RAS
object (a logger, handler or formatter).
A RASConfig
contains the following items:
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
,
RASGroup
,
Serialized FormConstructor Summary | |
---|---|
RASConfig()
Deprecated. Creates a RASConfig . |
|
RASConfig(java.util.Hashtable config)
Deprecated. Creates a RASConfig . |
Method Summary | |
---|---|
int |
decrementInUseCount()
Deprecated. Decrements by one the number of applications which are currently using this RAS object. |
java.util.Hashtable |
getConfig()
Deprecated. RASConfig is now a Hashtable , so the
Hashtable methods may be invoked directly on this
object. |
int |
getInUseCount()
Deprecated. Gets the number of applications which are currently using this RAS object. |
RASObject |
getObject()
Deprecated. Gets a reference to the RAS object created from this configuration. |
int |
incrementInUseCount()
Deprecated. Increments by one the number of applications which are currently using this RAS object. |
boolean |
isModified()
Deprecated. Determines if the group has been modified. |
void |
setConfig(java.util.Hashtable config)
Deprecated. Sets the configuration data held by this object. |
void |
setInUseCount(int count)
Deprecated. Sets the number of applications which are currently using this RAS object. |
void |
setModified(boolean flag)
Deprecated. Sets a flag that indicates that the contents of this group has been modified. |
void |
setObject(RASObject object)
Deprecated. Sets a reference to the RAS object created from this configuration. |
java.lang.String |
toString()
Deprecated. Returns a String representation of this object. |
protected void |
updateActiveObjects(RASConfig oldConfig)
Deprecated. Scans an "old" RASConfig for RAS objects which have been
instantiated and updates this object with this information. |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RASConfig()
RASConfig
.
public RASConfig(java.util.Hashtable config)
RASConfig
.
config
- A Hashtable
of configuration data for a
RASObject
.Method Detail |
---|
public java.util.Hashtable getConfig()
RASConfig
is now a Hashtable
, so the
Hashtable
methods may be invoked directly on this
object.
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 void setModified(boolean flag)
flag
- true
when the group has been modified and
false
otherwise.public boolean isModified()
true
when the group has been modified and
false
otherwise.public RASObject getObject()
RASObject
.public void setObject(RASObject object)
object
- The RASObject
.protected void updateActiveObjects(RASConfig oldConfig)
RASConfig
for RAS objects which have been
instantiated and updates this object with this information. This
method should be called if a RAS configuration is refreshed from a
data store, so that the active-object data is not lost. This method
does nothing if the "old" configuration object is null
.
oldConfig
- The RASConfig
to be scanned for
instantiated objects.public java.lang.String toString()
String
representation of this object.
toString
in class java.util.Hashtable
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |