|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.mfwk.cib.CIBObject
com.sun.mfwk.cib.CIBManagedObject
com.sun.mfwk.cib.CIBMonitoredObject
com.sun.mfwk.cib.CIBService
Default implementation of a CIB Service MBean.
| Field Summary |
| Fields inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
ModelVersion |
| Constructor Summary | |
CIBService()
|
|
CIBService(java.lang.String theUri)
|
|
| Method Summary | |
void |
addCIBExternalResource(javax.management.ObjectName objectName)
addCIBExternalResource |
void |
addCIBResource(javax.management.ObjectName objectName)
addCIBResource |
javax.management.ObjectName |
getApplication()
Returns the name of the Related JesApplication : JesApplication.getApplicationName() |
long |
getAvailabilityStatusDegradedTime()
Returns the time the first time the object entered into the degraded state |
long |
getAvailabilityStatusLastChange()
Get the time when the availability status last changed |
int |
getAvailabilityStatusState()
Get the Availability State of the Monitored object |
javax.management.ObjectName |
getExternalResourceByUri(java.lang.String uri)
getExternalResourceByUri |
javax.management.ObjectName[] |
getExternalResources()
getExternalResources |
javax.management.openmbean.CompositeData |
getOpenStatistic(java.lang.String name)
Gets a CIB Statistic as a standard serializable JMX Open Type |
javax.management.openmbean.CompositeData[] |
getOpenStatistics(java.lang.String[] names)
Gets all CIBStatistics encoded as serializable JMX Open Types. |
javax.management.openmbean.CompositeData |
getOpenStats()
Gets a CIBStats object encoded as a standard serializable JMX Open Type |
long |
getOperationalStatusLastChange()
Get the time when the operational status last changed |
long |
getOperationalStatusStartTime()
Get the time when the Operational status entered into the running state |
int |
getOperationalStatusState()
Get the Operational MfStatus of the monitored object |
javax.management.ObjectName[] |
getResources()
Returns the name of each related CIBRessources |
java.lang.String[] |
getStatisticNames()
Gets all available statistic names |
javax.management.j2ee.statistics.Stats |
getStats()
Returns the Stats object provided by the CIBProviderHandler Gets a CIBStats object for all available statistics. |
java.lang.String |
getUri()
Provides the service name identified by its URI |
void |
removeCIBExternalResource(javax.management.ObjectName objectName)
removeCIBExternalResource |
void |
removeCIBResource(javax.management.ObjectName objectName)
removeCIBResource |
void |
setCIBApplication(javax.management.ObjectName objectName)
Allows to set the application object Name to which the CIBService is running |
void |
setStateProvider(boolean val)
enables/disable the generation of performance statistics data in the supplier application. |
void |
setStatisticProvider(boolean val)
disables the generation of performance statistics data in the supplier application. |
void |
setUri(java.lang.String theUri)
Set the Uri of the Service |
| Methods inherited from class com.sun.mfwk.cib.CIBMonitoredObject |
getCIBProviderHandler, isStateProvider, isStatisticProvider, setCIBProviderHandler |
| Methods inherited from class com.sun.mfwk.cib.CIBManagedObject |
addNotificationListener, getDescription, getJ2eeSibling, getNotificationInfo, isEventProvider, removeNotificationListener, removeNotificationListener, setDescription, setEventProvider, setJ2eeSibling |
| Methods inherited from class com.sun.mfwk.cib.CIBObject |
getModelVersion, getName, getType, postDeregister, postRegister, preDeregister, preRegister |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.mfwk.cib.CIBMonitoredObjectMBean |
isStateProvider, isStatisticProvider |
| Methods inherited from interface com.sun.mfwk.cib.CIBManagedObjectMBean |
getDescription, isEventProvider, setEventProvider |
| Methods inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
getModelVersion, getName, getType |
| Methods inherited from interface com.sun.mfwk.cib.CIBMonitoredObjectIf |
getCIBProviderHandler, setCIBProviderHandler |
| Methods inherited from interface com.sun.mfwk.cib.CIBManagedObjectIf |
setDescription |
| Constructor Detail |
public CIBService()
public CIBService(java.lang.String theUri)
| Method Detail |
public void setStateProvider(boolean val)
throws CIBException
CIBMonitoredObjectMBean
setStateProvider in interface CIBMonitoredObjectMBeansetStateProvider in class CIBMonitoredObjectval - boolean
CIBException
public void setStatisticProvider(boolean val)
throws CIBException
CIBMonitoredObjectMBean
setStatisticProvider in interface CIBMonitoredObjectMBeansetStatisticProvider in class CIBMonitoredObjectval - boolean
CIBExceptionpublic void setCIBApplication(javax.management.ObjectName objectName)
setCIBApplication in interface CIBServiceIfobjectName - ObjectName
public java.lang.String getUri()
throws javax.management.InvalidAttributeValueException
getUri in interface CIBServiceMBeanjavax.management.InvalidAttributeValueExceptionpublic void setUri(java.lang.String theUri)
setUri in interface CIBServiceIftheUri - String
public javax.management.ObjectName getApplication()
throws javax.management.InvalidAttributeValueException
getApplication in interface CIBServiceMBeanjavax.management.InvalidAttributeValueExceptionpublic javax.management.ObjectName[] getResources()
CIBServiceMBean
getResources in interface CIBServiceMBeanpublic void addCIBResource(javax.management.ObjectName objectName)
addCIBResource in interface CIBServiceIfobjectName - ObjectName
public void removeCIBResource(javax.management.ObjectName objectName)
throws CIBException
removeCIBResource in interface CIBServiceIfobjectName - ObjectName
CIBExceptionpublic void addCIBExternalResource(javax.management.ObjectName objectName)
addCIBExternalResource in interface CIBServiceIfobjectName - ObjectName
public void removeCIBExternalResource(javax.management.ObjectName objectName)
throws CIBException
removeCIBExternalResource in interface CIBServiceIfobjectName - ObjectName
CIBExceptionpublic javax.management.ObjectName[] getExternalResources()
getExternalResources in interface CIBServiceMBean
public javax.management.ObjectName getExternalResourceByUri(java.lang.String uri)
throws CIBException
getExternalResourceByUri in interface CIBServiceMBeanuri - String
CIBException
public javax.management.j2ee.statistics.Stats getStats()
throws CIBException
getStats in interface CIBMonitoredObjectMBeangetStats in class CIBMonitoredObjectCIBException
public javax.management.openmbean.CompositeData getOpenStatistic(java.lang.String name)
throws CIBAttributeNotFoundException,
CIBException
getOpenStatistic in interface CIBMonitoredObjectMBeangetOpenStatistic in class CIBMonitoredObjectname - String
CIBAttributeNotFoundException
CIBException
public javax.management.openmbean.CompositeData[] getOpenStatistics(java.lang.String[] names)
throws CIBException
getOpenStatistics in interface CIBMonitoredObjectMBeangetOpenStatistics in class CIBMonitoredObjectnames - String[]
CIBException
public javax.management.openmbean.CompositeData getOpenStats()
throws CIBException
getOpenStats in interface CIBMonitoredObjectMBeangetOpenStats in class CIBMonitoredObjectCIBException
public java.lang.String[] getStatisticNames()
throws CIBException
getStatisticNames in interface CIBMonitoredObjectMBeangetStatisticNames in class CIBMonitoredObjectCIBException
public int getOperationalStatusState()
throws CIBException
getOperationalStatusState in interface CIBMonitoredObjectMBeanCIBException
public long getOperationalStatusLastChange()
throws CIBException
getOperationalStatusLastChange in interface CIBMonitoredObjectMBeanCIBException
public long getOperationalStatusStartTime()
throws CIBException
getOperationalStatusStartTime in interface CIBMonitoredObjectMBeanCIBException
public int getAvailabilityStatusState()
throws CIBException
getAvailabilityStatusState in interface CIBMonitoredObjectMBeanCIBException
public long getAvailabilityStatusLastChange()
throws CIBException
getAvailabilityStatusLastChange in interface CIBMonitoredObjectMBeanCIBException
public long getAvailabilityStatusDegradedTime()
throws CIBException
getAvailabilityStatusDegradedTime in interface CIBMonitoredObjectMBeanCIBException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||