Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sun.mfwk.cib
Class CIBResource

    java.lang.Object
      com.sun.mfwk.cib.CIBObject
          com.sun.mfwk.cib.CIBManagedObject
              com.sun.mfwk.cib.CIBMonitoredObject
                  com.sun.mfwk.cib.CIBResource

All Implemented Interfaces:
  CIBManagedObjectIf, CIBManagedObjectMBean, CIBMonitoredObjectIf, CIBMonitoredObjectMBean, CIBObjectMBean, CIBResourceIf, CIBResourceMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter

public class CIBResource
extends CIBMonitoredObject
implements CIBResourceIf, CIBResourceMBean

Default implementation of a CIB Resource MBean.

Field Summary

Fields inherited from interface com.sun.mfwk.cib.CIBObjectMBean
`ModelVersion`

Constructor Summary
`CIBResource()`

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
`javax.management.ObjectName` | `getService()` Returns the name of the CIBApplication
`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 CIBApplication 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

### CIBResource

    public CIBResource()

Method Detail

### setCIBApplication

    public void setCIBApplication(javax.management.ObjectName objectName)

  Allows to set the CIBApplication object name

  Specified by:
    `setCIBApplication` in interface `CIBResourceIf`
  Parameters:
    `objectName` - ObjectName

### setCIBService

    public void setCIBService(javax.management.ObjectName objectName)

  Allows to set the CIBService object name

  Specified by:
    `setCIBService` in interface `CIBResourceIf`
  Parameters:
    `objectName` - ObjectName

### getApplication

    public javax.management.ObjectName getApplication()

  Returns the name of the CIBApplication

  Specified by:
    `getApplication` in interface `CIBResourceMBean`
  Returns:
    javax.management.ObjectName

### getService

    public javax.management.ObjectName getService()

  Returns the name of the CIBApplication

  Specified by:
    `getService` in interface `CIBResourceMBean`
  Returns:
    javax.management.ObjectName

### getStats

    public javax.management.j2ee.statistics.Stats getStats()
                                                    throws CIBException

  Returns the Stats object provided by the CIBProviderHandler Gets a CIBStats object for all available statistics.

  Specified by:
    `getStats` in interface `CIBMonitoredObjectMBean`
  Specified by:
    `getStats` in class `CIBMonitoredObject`
  Returns:
    Stats
  Throws:
    `CIBException`

### getOpenStatistic

    public javax.management.openmbean.CompositeData getOpenStatistic(java.lang.String name)
                                                              throws CIBAttributeNotFoundException,
                                                                     CIBException

  Gets a CIB Statistic as a standard serializable JMX Open Type

  Specified by:
    `getOpenStatistic` in interface `CIBMonitoredObjectMBean`
  Specified by:
    `getOpenStatistic` in class `CIBMonitoredObject`
  Parameters:
    `name` - String
  Returns:
    CompositeData
  Throws:
    `CIBAttributeNotFoundException`
    `CIBException`

### getOpenStatistics

    public javax.management.openmbean.CompositeData[] getOpenStatistics(java.lang.String[] names)
                                                                 throws CIBException

  Gets all CIBStatistics encoded as serializable JMX Open Types. If no statistics is found null is returned.

  Specified by:
    `getOpenStatistics` in interface `CIBMonitoredObjectMBean`
  Specified by:
    `getOpenStatistics` in class `CIBMonitoredObject`
  Parameters:
    `names` - String[]
  Returns:
    CompositeData[]
  Throws:
    `CIBException`

### getOpenStats

    public javax.management.openmbean.CompositeData getOpenStats()
                                                          throws CIBException

  Gets a CIBStats object encoded as a standard serializable JMX Open Type

  Specified by:
    `getOpenStats` in interface `CIBMonitoredObjectMBean`
  Specified by:
    `getOpenStats` in class `CIBMonitoredObject`
  Returns:
    javax.management.openmbean.CompositeData
  Throws:
    `CIBException`

### getStatisticNames

    public java.lang.String[] getStatisticNames()
                                         throws CIBException

  Gets all available statistic names

  Specified by:
    `getStatisticNames` in interface `CIBMonitoredObjectMBean`
  Specified by:
    `getStatisticNames` in class `CIBMonitoredObject`
  Returns:
    String[]
  Throws:
    `CIBException`

### getOperationalStatusState

    public int getOperationalStatusState()
                                  throws CIBException

  Get the Operational MfStatus of the monitored object

  Specified by:
    `getOperationalStatusState` in interface `CIBMonitoredObjectMBean`
  Returns:
    int
  Throws:
    `CIBException`

### getOperationalStatusLastChange

    public long getOperationalStatusLastChange()
                                        throws CIBException

  Get the time when the operational status last changed

  Specified by:
    `getOperationalStatusLastChange` in interface `CIBMonitoredObjectMBean`
  Returns:
    long
  Throws:
    `CIBException`

### getOperationalStatusStartTime

    public long getOperationalStatusStartTime()
                                       throws CIBException

  Get the time when the Operational status entered into the running state

  Specified by:
    `getOperationalStatusStartTime` in interface `CIBMonitoredObjectMBean`
  Returns:
    long
  Throws:
    `CIBException`

### getAvailabilityStatusState

    public int getAvailabilityStatusState()
                                   throws CIBException

  Get the Availability State of the Monitored object

  Specified by:
    `getAvailabilityStatusState` in interface `CIBMonitoredObjectMBean`
  Returns:
    int
  Throws:
    `CIBException`

### getAvailabilityStatusLastChange

    public long getAvailabilityStatusLastChange()
                                         throws CIBException

  Get the time when the availability status last changed

  Specified by:
    `getAvailabilityStatusLastChange` in interface `CIBMonitoredObjectMBean`
  Returns:
    long
  Throws:
    `CIBException`

### getAvailabilityStatusDegradedTime

    public long getAvailabilityStatusDegradedTime()
                                           throws CIBException

  Returns the time the first time the object entered into the degraded state

  Specified by:
    `getAvailabilityStatusDegradedTime` in interface `CIBMonitoredObjectMBean`
  Returns:
    long
  Throws:
    `CIBException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD