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 final Class<? extends J2EEManagedObject>
     

    Fields inherited from class org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase

    mStartTime

    Fields inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase

    EMPTY_OBJECT_NAMES, GET, GET_PREFIX, mMBeanInfo, OBJECT_NAME_SUFFIX, SET

    Fields inherited from class org.glassfish.admin.amx.impl.mbean.MBeanImplBase

    EMPTY_STRING_ARRAY, mSelfObjectName, mServer
  • Constructor Summary

    Constructors
    Constructor
    Description
    J2EEDomainImpl(ObjectName parentObjectName, Metadata meta)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
    Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null
     
    JSR 77 impl
    protected void
     
    void
    setServerName(String serverName)
     

    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 Details

  • Constructor Details

  • Method Details

    • 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: J2EEManagedObjectImplBase
      Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null
      Overrides:
      getExtraObjectNameProps in class J2EEManagedObjectImplBase
      Returns:
    • registerChildren

      protected void registerChildren()
      Overrides:
      registerChildren in class org.glassfish.admin.amx.impl.mbean.AMXImplBase
    • getServerName

      public String getServerName()
      Overrides:
      getServerName in class J2EEManagedObjectImplBase
    • setServerName

      public void setServerName(String serverName)