Class J2EEManagedObjectImplBase

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected long 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected MetadataImpl defaultChildMetadata()  
      protected String[] getChildrenAsStrings​(String... args)  
      protected String[] getChildrenAsStrings​(Set<String> types)  
      ObjectName getCorrespondingConfig()  
      String[] getdeployedObjects()  
      protected com.sun.enterprise.config.serverbeans.Domain getDomain()  
      protected String getExtraObjectNameProps​(MBeanServer server, ObjectName nameIn)
      Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null
      J2EEServer getJ2EEServer()  
      String getobjectName()  
      protected String getServerName()  
      ObjectName getServerObjectName()  
      long getstartTime()  
      int getstate()  
      boolean iseventProvider()  
      boolean isstateManageable()  
      boolean isstatisticsProvider()  
      protected String j2eeType​(ObjectName objectName)  
      protected Metadata metadata()  
      protected ObjectName preRegisterModifyName​(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, 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
    • Field Detail

      • mStartTime

        protected final long mStartTime
    • Method Detail

      • defaultChildMetadata

        protected MetadataImpl defaultChildMetadata()
      • metadata

        protected Metadata metadata()
      • getCorrespondingConfig

        public ObjectName getCorrespondingConfig()
      • getDomain

        protected com.sun.enterprise.config.serverbeans.Domain getDomain()
      • preRegisterModifyName

        protected ObjectName preRegisterModifyName​(MBeanServer server,
                                                   ObjectName nameIn)
        JSR 77 requires an ancestor hierarchy via properties; this is in addition to the basic AMX requirements.
        Overrides:
        preRegisterModifyName in class org.glassfish.admin.amx.impl.mbean.AMXImplBase
      • getExtraObjectNameProps

        protected String getExtraObjectNameProps​(MBeanServer server,
                                                 ObjectName nameIn)
        Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null
        Parameters:
        server -
        nameIn -
        Returns:
      • getstartTime

        public long getstartTime()
      • getServerName

        protected String getServerName()
      • getobjectName

        public String getobjectName()
      • isstatisticsProvider

        public boolean isstatisticsProvider()
      • iseventProvider

        public boolean iseventProvider()
      • isstateManageable

        public boolean isstateManageable()
      • getJ2EEServer

        public J2EEServer getJ2EEServer()
      • getServerObjectName

        public ObjectName getServerObjectName()
      • getdeployedObjects

        public String[] getdeployedObjects()
      • getstate

        public int getstate()
      • getChildrenAsStrings

        protected String[] getChildrenAsStrings​(Set<String> types)
      • getChildrenAsStrings

        protected String[] getChildrenAsStrings​(String... args)