Class DomainRootImpl
- java.lang.Object
-
- org.glassfish.admin.amx.impl.mbean.MBeanImplBase
-
- org.glassfish.admin.amx.impl.mbean.AMXImplBase
-
- org.glassfish.admin.amx.impl.mbean.DomainRootImpl
-
- All Implemented Interfaces:
DynamicMBean,MBeanRegistration,NotificationBroadcaster,NotificationEmitter,AMX_SPI,NotificationSender
public class DomainRootImpl extends AMXImplBase
-
-
Field Summary
-
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 DomainRootImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetAMXReady()StringgetApplicationServerFullVersion()StringgetAppserverDomainName()ObjectNamegetBulkAccess()Map<ObjectName,List<String>>getComplianceFailures()StringgetConfigDir()StringgetDebugPort()StringgetDomainDir()StringgetInstallDir()StringgetInstanceRoot()ObjectNamegetJ2EEDomain()ObjectNamegetMonitoringRoot()ObjectNamegetPathnames()ObjectNamegetQueryMgr()Object[]getUptimeMillis()protected voidpostRegisterHook(Boolean registrationSucceeded)Important: must be synchronized so that preDeregisterHook cannot be called prior to existing postRegisterHook()voidpreRegisterDone()protected ObjectNamepreRegisterHook(MBeanServer server, ObjectName selfObjectName)This is an opportunity for a subclass to do initialization and optionally to modify the ObjectName one last time.protected voidregisterChildren()voidstopDomain()voidwaitAMXReady()-
Methods inherited from class org.glassfish.admin.amx.impl.mbean.AMXImplBase
attributeNameToType, attributeTypeMatches, 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, postRegisterModifyMBeanInfo, preDeregisterHook, preRegister, preRegisterModifyName, 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, 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
-
-
-
-
Method Detail
-
stopDomain
public void stopDomain()
-
getQueryMgr
public ObjectName getQueryMgr()
-
getJ2EEDomain
public ObjectName getJ2EEDomain()
-
getMonitoringRoot
public ObjectName getMonitoringRoot()
-
getPathnames
public ObjectName getPathnames()
-
getBulkAccess
public ObjectName getBulkAccess()
-
preRegisterHook
protected ObjectName preRegisterHook(MBeanServer server, ObjectName selfObjectName) throws Exception
Description copied from class:AMXImplBaseThis is an opportunity for a subclass to do initialization and optionally to modify the ObjectName one last time.- Overrides:
preRegisterHookin classAMXImplBase- Throws:
Exception
-
preRegisterDone
public void preRegisterDone() throws Exception- Overrides:
preRegisterDonein classAMXImplBase- Throws:
Exception
-
postRegisterHook
protected void postRegisterHook(Boolean registrationSucceeded)
Description copied from class:AMXImplBaseImportant: must be synchronized so that preDeregisterHook cannot be called prior to existing postRegisterHook()- Overrides:
postRegisterHookin classAMXImplBase
-
getComplianceFailures
public Map<ObjectName,List<String>> getComplianceFailures()
-
getAppserverDomainName
public String getAppserverDomainName()
-
registerChildren
protected final void registerChildren()
- Overrides:
registerChildrenin classAMXImplBase
-
getAMXReady
public boolean getAMXReady()
-
waitAMXReady
public void waitAMXReady()
-
getDebugPort
public String getDebugPort()
-
getApplicationServerFullVersion
public String getApplicationServerFullVersion()
-
getInstanceRoot
public String getInstanceRoot()
-
getDomainDir
public String getDomainDir()
-
getConfigDir
public String getConfigDir()
-
getInstallDir
public String getInstallDir()
-
getUptimeMillis
public Object[] getUptimeMillis()
-
-