|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.wsspi.rasdiag.DiagnosticConfigHome
public class DiagnosticConfigHome
The DiagnosticConfigHome
class maintains the StateCollectionSpec for
the DiagnosticProviders
in separate DiagnosticConfig
objects.
Following are some samples of valid stateCollectionSpecs (note : separates DPName from AttributeId w/in that DPName and ; separates entries in the CollectionSpec)
DiagnosticConfig
object, and multiple entries match "xxx", then the
entry furthest to the right will be used). For example, in this StateCollectionSpec, if
isEnabled("d-e-f") were called in the a.b.c DPName, it would return false. It matches d.*
which is true (=1), but it also matches d-e-f which is false, and is further to the right.This is a Singleton class, hence the getInstance() and private constructor
Method Summary | |
---|---|
DiagnosticConfig |
getDiagnosticConfig(java.lang.String aDPName)
gets a DiagnosticConfig object from the Home for a DPName |
static DiagnosticConfigHome |
getInstance()
returns a reference to this object |
java.lang.String |
getStateCollectionSpec()
returns the string format of the system-wide collection spec |
static void |
releaseDiagnosticConfig(java.lang.String aDPName)
releases a DiagnosticConfig object and frees the resources. |
void |
setStateCollectionSpec(java.lang.String aStateCollectionSpec)
takes the new string (created via Cfg extract or from an MBean), split it into its component parts, and drives the setStateCollectionSpec method on all DiagnosticConfig objects
that there has been impacted. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static DiagnosticConfigHome getInstance()
public java.lang.String getStateCollectionSpec()
CollectionSpec
public void setStateCollectionSpec(java.lang.String aStateCollectionSpec)
setStateCollectionSpec
method on all DiagnosticConfig
objects
that there has been impacted.
aStateCollectionSpec
- String containing system-wide StateCollectionSpec
public DiagnosticConfig getDiagnosticConfig(java.lang.String aDPName)
DiagnosticConfig
object from the Home for a DPName
aDPName
- DiagnosticProvider name
public static void releaseDiagnosticConfig(java.lang.String aDPName)
DiagnosticConfig
object and frees the resources. This is also handled
implicitly from the DiagnosticProviderHelper.deregisterMBeanWithDiagnosticService
method or the DiagnosticProviderRegistry.deregister
method.
aDPName
- DiagnosticProvider name
|
IBM WebSphere Application ServerTM Release 8 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |