|
|||||||||||
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.CIBExternalResource
Default implementation of a CIB External Resource MBean.
Field Summary |
Fields inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
ModelVersion |
Constructor Summary | |
CIBExternalResource()
Build a CIBExternalResource |
|
CIBExternalResource(java.lang.String theProviderUri)
Create a CIBExternalResource with the given providerUri |
Method Summary | |
javax.management.ObjectName |
getApplication()
Returns the name of the CIBApplication |
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.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 |
java.lang.String |
getProviderUri()
Provides the Associated Service URI |
javax.management.ObjectName |
getService()
getService |
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. |
void |
setCIBApplication(javax.management.ObjectName objectName)
Allows to set the CIB Service Object Name |
void |
setCIBService(javax.management.ObjectName objectName)
Allows to set the CIBService object Name |
Methods inherited from class com.sun.mfwk.cib.CIBMonitoredObject |
getCIBProviderHandler, isStateProvider, isStatisticProvider, setCIBProviderHandler, setStateProvider, setStatisticProvider |
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.CIBMonitoredObjectIf |
getCIBProviderHandler, setCIBProviderHandler |
Methods inherited from interface com.sun.mfwk.cib.CIBManagedObjectIf |
setDescription |
Methods inherited from interface com.sun.mfwk.cib.CIBMonitoredObjectMBean |
isStateProvider, isStatisticProvider, setStateProvider, setStatisticProvider |
Methods inherited from interface com.sun.mfwk.cib.CIBManagedObjectMBean |
getDescription, isEventProvider, setEventProvider |
Methods inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
getModelVersion, getName, getType |
Constructor Detail |
public CIBExternalResource(java.lang.String theProviderUri)
theProviderUri
- Stringpublic CIBExternalResource()
Method Detail |
public void setCIBApplication(javax.management.ObjectName objectName)
setCIBApplication
in interface CIBExternalResourceIf
objectName
- ObjectNamepublic java.lang.String getProviderUri()
getProviderUri
in interface CIBExternalResourceMBean
public javax.management.ObjectName getApplication() throws javax.management.InvalidAttributeValueException
getApplication
in interface CIBExternalResourceMBean
javax.management.InvalidAttributeValueException
public javax.management.j2ee.statistics.Stats getStats() throws CIBException
getStats
in interface CIBMonitoredObjectMBean
getStats
in class CIBMonitoredObject
CIBException
public javax.management.openmbean.CompositeData getOpenStatistic(java.lang.String name) throws CIBException
getOpenStatistic
in interface CIBMonitoredObjectMBean
getOpenStatistic
in class CIBMonitoredObject
name
- String
CIBException
public javax.management.openmbean.CompositeData[] getOpenStatistics(java.lang.String[] names) throws CIBException
getOpenStatistics
in interface CIBMonitoredObjectMBean
getOpenStatistics
in class CIBMonitoredObject
names
- String[]
CIBException
public javax.management.openmbean.CompositeData getOpenStats() throws CIBException
getOpenStats
in interface CIBMonitoredObjectMBean
getOpenStats
in class CIBMonitoredObject
CIBException
public java.lang.String[] getStatisticNames() throws CIBException
getStatisticNames
in interface CIBMonitoredObjectMBean
getStatisticNames
in class CIBMonitoredObject
CIBException
public int getOperationalStatusState() throws CIBException
getOperationalStatusState
in interface CIBMonitoredObjectMBean
CIBException
public long getOperationalStatusLastChange() throws CIBException
getOperationalStatusLastChange
in interface CIBMonitoredObjectMBean
CIBException
public long getOperationalStatusStartTime() throws CIBException
getOperationalStatusStartTime
in interface CIBMonitoredObjectMBean
CIBException
public int getAvailabilityStatusState() throws CIBException
getAvailabilityStatusState
in interface CIBMonitoredObjectMBean
CIBException
public long getAvailabilityStatusLastChange() throws CIBException
getAvailabilityStatusLastChange
in interface CIBMonitoredObjectMBean
CIBException
public long getAvailabilityStatusDegradedTime() throws CIBException
getAvailabilityStatusDegradedTime
in interface CIBMonitoredObjectMBean
CIBException
public javax.management.ObjectName getService()
getService
in interface CIBExternalResourceMBean
public void setCIBService(javax.management.ObjectName objectName)
setCIBService
in interface CIBExternalResourceIf
objectName
- ObjectName
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |