Java EE 5 SDK

com.sun.appserv.management.j2ee
Interface J2EEManagedObject

All Superinterfaces:
AMX, AMXMBeanLogging, ConfigProvider, NotificationBroadcaster, NotificationEmitter
All Known Subinterfaces:
AppClientModule, EJB, EJBModule, EntityBean, J2EEApplication, J2EECluster, J2EEDeployedObject, J2EEDomain, J2EELogicalServer, J2EEModule, J2EEResource, J2EEServer, JavaMailResource, JCAConnectionFactory, JCAManagedConnectionFactory, JCAResource, JDBCDataSource, JDBCDriver, JDBCResource, JMSResource, JNDIResource, JTAResource, JVM, MessageDrivenBean, ResourceAdapter, ResourceAdapterModule, RMIIIOPResource, Servlet, SessionBean, StatefulSessionBean, StatelessSessionBean, URLResource, WebModule, WebServiceEndpoint

public interface J2EEManagedObject
extends AMX, ConfigProvider

The J2EEManagedObject model is the base model of all managed objects in the J2EE Management Model. All managed objects in the J2EE Platform must implement the J2EEManagedObject model.


Field Summary
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Method Summary
 AMXConfig getConfigPeer()
          Get the corresponding configuration peer for this MBean (if any).
 Monitoring getMonitoringPeer()
          Get the Monitoring (if any)
 String getobjectName()
          The ObjectName of the J2EEManagedObject.
 boolean iseventProvider()
          If true, indicates that the managed object provides event notification about events that occur on that object.
 boolean isstateManageable()
          If true, indicates that this managed object implements the StateManageable model and is state manageable.
 boolean isstatisticProvider()
          If true, indicates that the managed object supports performance statistics and therefore implements the StatisticsProvider model.
 boolean isstatisticsProvider()
           
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.j2ee.ConfigProvider
isConfigProvider
 

Method Detail

getobjectName

String getobjectName()
The ObjectName of the J2EEManagedObject. All managed objects must have a unique name within the context of the management domain. The name must not be null.

Note that the Attribute name is case-sensitive "getobjectName" as defined by JSR 77.

Returns:
the ObjectName of the object, as a String

iseventProvider

boolean iseventProvider()
If true, indicates that the managed object provides event notification about events that occur on that object. NOTE: JSR 77 defines the Attribute name as "eventProvider".


isstateManageable

boolean isstateManageable()
If true, indicates that this managed object implements the StateManageable model and is state manageable.

Note that the Attribute name is case-sensitive "stateManageable" as defined by JSR 77.


isstatisticProvider

boolean isstatisticProvider()
If true, indicates that the managed object supports performance statistics and therefore implements the StatisticsProvider model.

Note that the Attribute name is case-sensitive "statisticProvider" as defined by JSR 77.


isstatisticsProvider

boolean isstatisticsProvider()

getMonitoringPeer

Monitoring getMonitoringPeer()
Get the Monitoring (if any)

Returns:
the proxy, or null if none

getConfigPeer

AMXConfig getConfigPeer()
Get the corresponding configuration peer for this MBean (if any). The returned proxy will implement the appropriate interface, not just AMXConfig.

Returns:
a proxy, or null if not found or inappropriate

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.