Class J2EEManagedObjectImplBase
java.lang.Object
org.glassfish.admin.amx.impl.mbean.MBeanImplBase
org.glassfish.admin.amx.impl.mbean.AMXImplBase
org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,NotificationBroadcaster,NotificationEmitter,org.glassfish.admin.amx.core.AMX_SPI,org.glassfish.admin.amx.util.jmx.NotificationSender
- Direct Known Subclasses:
EJBImplBase,J2EEDeployedObjectImplBase,J2EEDomainImpl,J2EELogicalServerImplBase,J2EEResourceImplBase,JCAConnectionFactoryImpl,JCAManagedConnectionFactoryImpl,JDBCDataSourceImpl,JDBCDriverImpl,JVMImpl,ResourceAdapterImpl,ServletImpl,URLResourceImpl
public abstract class J2EEManagedObjectImplBase
extends org.glassfish.admin.amx.impl.mbean.AMXImplBase
-
Field Summary
FieldsFields inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SETFields inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
EMPTY_STRING_ARRAY, mSelfObjectName, mServer -
Constructor Summary
ConstructorsConstructorDescriptionJ2EEManagedObjectImplBase(ObjectName parentObjectName, Metadata meta, Class<? extends J2EEManagedObject> intf) J2EEManagedObjectImplBase(ObjectName parentObjectName, Metadata meta, Class<? extends J2EEManagedObject> intf, boolean stateManageable, boolean statisticsProvider, boolean evengProvider) -
Method Summary
Modifier and TypeMethodDescriptionprotected MetadataImplprotected String[]getChildrenAsStrings(String... args) protected String[]getChildrenAsStrings(Set<String> types) String[]protected com.sun.enterprise.config.serverbeans.Domainprotected StringgetExtraObjectNameProps(MBeanServer server, ObjectName nameIn) Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=nullprotected Stringlongintgetstate()booleanbooleanbooleanprotected Stringj2eeType(ObjectName objectName) protected Metadatametadata()protected ObjectNamepreRegisterModifyName(MBeanServer server, ObjectName nameIn) JSR 77 requires an ancestor hierarchy via properties; this is in addition to the basic AMX requirements.Methods inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
attributeNameToType, attributeTypeMatches, cdebug, child, child, child, findGetter, findMethod, findSetter, getAncestorByType, getAttribute, getAttributeByMethod, getAttributeInfo, getAttributeInfos, getAttributeInternal, getAttributeManually, getAttributeNames, getAttributeNoThrow, getAttributes, getAttributeType, getChildren, getChildren, getChildren, getChildren, getChildrenMap, getDomainRoot, getDomainRootProxy, getLogger, getMBeanInfo, getMBeanTracker, getName, getNotificationInfo, getObjectNameAttribute, getObjectNames, getObjectNamesForAttribute, getParent, getParentProxy, getProxy, getProxyFactory, getSelf, getSelf, getterNameMatches, handleException, handleGetAttributeException, handleInvokeThrowable, impossible, invoke, invokeManually, isReadOnlyAttribute, isUtilityMBean, java, operationNameMatches, postRegisterHook, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterDone, preRegisterHook, registerChild, registerChildren, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildrenMethods inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase
_getMBeanLogLevel, addNotificationListener, addNotificationListener, createNotificationBuilder, debug, debug, debugMethod, debugMethod, enableAMXDebug, getAMXDebug, getDebugID, getDebugOutput, getJMXDomain, getListenerCount, getMBeanLogger, getMBeanLoggerName, getMBeanLogLevel, getMBeanLogLevelInt, getMBeanServer, getNotificationBuilder, getNotificationEmitter, getNotificationTypeListenerCount, getObjectName, logFine, logFiner, logFinest, logInfo, logSevere, logWarning, postDeregister, postDeregisterHook, postRegister, preDeregister, quote, removeNotificationListener, removeNotificationListener, sendNotification, sendNotification, sendNotification, sendNotification, setAMXDebug, setMBeanLogLevel, shouldOmitObjectNameForDebug, sleepMillis, toString, traceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListenerMethods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
Field Details
-
mStartTime
protected final long mStartTime
-
-
Constructor Details
-
J2EEManagedObjectImplBase
public J2EEManagedObjectImplBase(ObjectName parentObjectName, Metadata meta, Class<? extends J2EEManagedObject> intf) -
J2EEManagedObjectImplBase
public J2EEManagedObjectImplBase(ObjectName parentObjectName, Metadata meta, Class<? extends J2EEManagedObject> intf, boolean stateManageable, boolean statisticsProvider, boolean evengProvider)
-
-
Method Details
-
defaultChildMetadata
-
metadata
-
getCorrespondingConfig
-
getDomain
protected com.sun.enterprise.config.serverbeans.Domain getDomain() -
preRegisterModifyName
JSR 77 requires an ancestor hierarchy via properties; this is in addition to the basic AMX requirements.- Overrides:
preRegisterModifyNamein classorg.glassfish.admin.amx.impl.mbean.AMXImplBase
-
getExtraObjectNameProps
Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null- Parameters:
server-nameIn-- Returns:
-
j2eeType
-
getstartTime
public long getstartTime() -
getServerName
-
getobjectName
-
isstatisticsProvider
public boolean isstatisticsProvider() -
iseventProvider
public boolean iseventProvider() -
isstateManageable
public boolean isstateManageable() -
getJ2EEServer
-
getServerObjectName
-
getdeployedObjects
-
getstate
public int getstate() -
getChildrenAsStrings
-
getChildrenAsStrings
-