|
|||||||||||
| 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.CIBApplication
Default implementation of a CIB Application.
| Field Summary |
| Fields inherited from interface com.sun.mfwk.cib.CIBObjectMBean |
ModelVersion |
| Constructor Summary | |
CIBApplication()
Build a CIBApplication |
|
CIBApplication(java.lang.String role,
java.lang.String urlDescription,
java.lang.String directoryDN)
Build a CIBApplication the given configuration parameters |
|
| Method Summary | |
void |
addCIBApplication(javax.management.ObjectName objectName)
Allows to add a CIBApplication objectName in the list of ContainedApplications |
void |
addCIBExternalResource(javax.management.ObjectName objectName)
Allows to add an CIBExternalResource to the list of Object Names Associated to the CIBApplication |
void |
addCIBResource(javax.management.ObjectName objectName)
addCIBResource |
void |
addCIBService(javax.management.ObjectName objectName)
Allows to add a CIBService objectName in the list of service managed object linked to the application |
javax.management.ObjectName[] |
getApplicationsSet()
Returns the list of aggregated applications |
java.lang.String |
getApplicationURLDescription()
Provides the application URL Description |
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 |
getContainer()
Returns the object name of the application container |
java.lang.String |
getDirectoryDN()
getDirectoryDN |
javax.management.ObjectName |
getExternalResourceByUri(java.lang.String uri)
Returns the object name of a ExternalResource associated to the application identifies by its Uri |
javax.management.ObjectName[] |
getExternalResources()
Return the list of External service object names associated to the application |
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 |
getProduct()
Returns the CIBProduct object name |
javax.management.ObjectName |
getResourceByName(java.lang.String name)
Returns the Object Name of a resource identified by its uri |
javax.management.ObjectName[] |
getResources()
Returns the list of object names of all the resource associated to the application |
java.lang.String |
getRole()
Provides the role of an application instance in the JES environment. |
javax.management.ObjectName |
getServiceByName(java.lang.String name)
Returns the Object Name of the service identified by its name |
javax.management.ObjectName |
getServiceByUri(java.lang.String uri)
Returns the object name of the Service identified by its Uri |
javax.management.ObjectName[] |
getServices()
Return the list of CIBService object names |
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 |
removeCIBApplication(javax.management.ObjectName objectName)
Allows to remove a CIBApplication object name from the list of ContainedApplications |
void |
removeCIBExternalResource(javax.management.ObjectName objectName)
Allows to remove an an CIBExternalResource from the list of Object Names Associated to the CIBApplication |
void |
removeCIBResource(javax.management.ObjectName objectName)
removeCIBResource |
void |
removeCIBService(javax.management.ObjectName objectName)
Allows to remove a service object name from the list associated to the application |
void |
setApplicationContainer(javax.management.ObjectName objectName)
Allows to set the Container object Name |
void |
setCIBProduct(javax.management.ObjectName objectName)
setCIBProduct |
void |
setRole(java.lang.String theRole)
Set the Role of the application |
void |
setStateProvider(boolean val)
Set the stateProvider to val |
void |
setStatisticProvider(boolean val)
Set the statisticProvider to val |
void |
setUrlDescription(java.lang.String theUrlDescription)
Set the URL Description of the Application |
| 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 CIBApplication()
public CIBApplication(java.lang.String role,
java.lang.String urlDescription,
java.lang.String directoryDN)
role - StringurlDescription - StringdirectoryDN - String| Method Detail |
public void setStateProvider(boolean val)
throws CIBException
setStateProvider in interface CIBMonitoredObjectMBeansetStateProvider in class CIBMonitoredObjectval - boolean
CIBException
public void setStatisticProvider(boolean val)
throws CIBException
setStatisticProvider in interface CIBMonitoredObjectMBeansetStatisticProvider in class CIBMonitoredObjectval - boolean
CIBExceptionpublic void setRole(java.lang.String theRole)
theRole - Stringpublic void setUrlDescription(java.lang.String theUrlDescription)
theUrlDescription - Stringpublic void addCIBApplication(javax.management.ObjectName objectName)
addCIBApplication in interface CIBApplicationIfobjectName - ObjectName
public void removeCIBApplication(javax.management.ObjectName objectName)
throws CIBException
removeCIBApplication in interface CIBApplicationIfobjectName - ObjectName
CIBExceptionpublic void addCIBService(javax.management.ObjectName objectName)
addCIBService in interface CIBApplicationIfobjectName - ObjectName
public void removeCIBService(javax.management.ObjectName objectName)
throws CIBException
removeCIBService in interface CIBApplicationIfobjectName - ObjectName
CIBExceptionpublic void addCIBExternalResource(javax.management.ObjectName objectName)
addCIBExternalResource in interface CIBApplicationIfobjectName - ObjectName
public void removeCIBExternalResource(javax.management.ObjectName objectName)
throws CIBException
removeCIBExternalResource in interface CIBApplicationIfobjectName - ObjectName
CIBExceptionpublic void setApplicationContainer(javax.management.ObjectName objectName)
setApplicationContainer in interface CIBApplicationIfobjectName - ObjectNamepublic java.lang.String getApplicationURLDescription()
getApplicationURLDescription in interface CIBApplicationMBeanpublic java.lang.String getRole()
getRole in interface CIBApplicationMBeanpublic javax.management.ObjectName[] getServices()
getServices in interface CIBApplicationMBean
public javax.management.ObjectName getServiceByUri(java.lang.String uri)
throws CIBException
getServiceByUri in interface CIBApplicationMBeanuri - String
CIBException
public javax.management.ObjectName getServiceByName(java.lang.String name)
throws CIBException
getServiceByName in interface CIBApplicationMBeanname - String
CIBExceptionpublic javax.management.ObjectName[] getResources()
getResources in interface CIBApplicationMBean
public javax.management.ObjectName getResourceByName(java.lang.String name)
throws CIBException
getResourceByName in interface CIBApplicationMBeanname - String
CIBExceptionpublic javax.management.ObjectName[] getExternalResources()
getExternalResources in interface CIBApplicationMBean
public javax.management.ObjectName getExternalResourceByUri(java.lang.String uri)
throws CIBException
getExternalResourceByUri in interface CIBApplicationMBeanuri - String
CIBExceptionpublic javax.management.ObjectName getContainer()
getContainer in interface CIBApplicationMBeanpublic javax.management.ObjectName[] getApplicationsSet()
getApplicationsSet in interface CIBApplicationMBeanpublic void setCIBProduct(javax.management.ObjectName objectName)
setCIBProduct in interface CIBApplicationIfobjectName - ObjectName
public javax.management.ObjectName getProduct()
throws javax.management.InvalidAttributeValueException
getProduct in interface CIBApplicationMBeanjavax.management.InvalidAttributeValueExceptionpublic java.lang.String getDirectoryDN()
getDirectoryDN in interface CIBApplicationMBeanpublic void addCIBResource(javax.management.ObjectName objectName)
addCIBResource in interface CIBApplicationIfobjectName - ObjectName
public void removeCIBResource(javax.management.ObjectName objectName)
throws CIBException
removeCIBResource in interface CIBApplicationIfobjectName - ObjectName
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 | ||||||||||