Class J2EEDomainImpl
- java.lang.Object
-
- org.glassfish.admin.amx.impl.mbean.MBeanImplBase
-
- org.glassfish.admin.amx.impl.mbean.AMXImplBase
-
- org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
-
- org.glassfish.admin.amx.impl.j2ee.J2EEDomainImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,NotificationBroadcaster,NotificationEmitter,org.glassfish.admin.amx.core.AMX_SPI,org.glassfish.admin.amx.util.jmx.NotificationSender
- Direct Known Subclasses:
DASJ2EEDomainImpl
public class J2EEDomainImpl extends J2EEManagedObjectImplBase
Base implementation for the J2EEDomain for DAS and non-DAS server instances.
-
-
Field Summary
Fields Modifier and Type Field Description static Class<? extends J2EEManagedObject>INTF-
Fields inherited from class org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
mStartTime
-
-
Constructor Summary
Constructors Constructor Description J2EEDomainImpl(ObjectName parentObjectName, Metadata meta)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetExtraObjectNameProps(MBeanServer server, ObjectName nameIn)Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=nullStringgetServerName()String[]getservers()JSR 77 implprotected voidregisterChildren()voidsetServerName(String serverName)-
Methods inherited from class org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
defaultChildMetadata, getChildrenAsStrings, getChildrenAsStrings, getCorrespondingConfig, getdeployedObjects, getDomain, getJ2EEServer, getobjectName, getServerObjectName, getstartTime, getstate, iseventProvider, isstateManageable, isstatisticsProvider, j2eeType, metadata, preRegisterModifyName
-
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, sendAttributeChangeNotification, setAttribute, setAttributeByMethod, setAttributeInternal, setAttributeManually, setAttributes, shouldEmitNotifications, stringify, supportsChildren, toString, unimplementedAttribute, unimplementedOperation, unregisterChildren
-
Methods 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, trace
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, removeNotificationListener
-
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
-
-
-
-
Field Detail
-
INTF
public static final Class<? extends J2EEManagedObject> INTF
-
-
Constructor Detail
-
J2EEDomainImpl
public J2EEDomainImpl(ObjectName parentObjectName, Metadata meta)
-
-
Method Detail
-
getservers
public String[] getservers()
JSR 77 impl- Returns:
- String representation of the ObjectName
-
getExtraObjectNameProps
protected String getExtraObjectNameProps(MBeanServer server, ObjectName nameIn)
Description copied from class:J2EEManagedObjectImplBaseDeals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null- Overrides:
getExtraObjectNamePropsin classJ2EEManagedObjectImplBase- Returns:
-
registerChildren
protected void registerChildren()
- Overrides:
registerChildrenin classorg.glassfish.admin.amx.impl.mbean.AMXImplBase
-
getServerName
public String getServerName()
- Overrides:
getServerNamein classJ2EEManagedObjectImplBase
-
setServerName
public void setServerName(String serverName)
-
-