org.glassfish.admin.amx.impl.ext
Class RuntimeRootImpl
java.lang.Object
org.glassfish.admin.amx.impl.mbean.MBeanImplBase
org.glassfish.admin.amx.impl.mbean.AMXImplBase
org.glassfish.admin.amx.impl.ext.RuntimeRootImpl
- All Implemented Interfaces:
- javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, javax.management.NotificationEmitter, AMX_SPI, NotificationSender
public final class RuntimeRootImpl
- extends AMXImplBase
AMX RealmsMgr implementation.
Note that realms don't load until #loadRealms is called.
| 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, 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, 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.MBeanRegistration |
postDeregister, postRegister, preDeregister |
| Methods inherited from interface javax.management.NotificationEmitter |
removeNotificationListener |
| Methods inherited from interface javax.management.NotificationBroadcaster |
addNotificationListener, removeNotificationListener |
RuntimeRootImpl
public RuntimeRootImpl(javax.management.ObjectName parent)
getServerRuntime
public javax.management.ObjectName[] getServerRuntime()
registerChildren
protected final void registerChildren()
- Overrides:
registerChildren in class AMXImplBase
getDeploymentConfigurations
public java.util.List<java.util.Map<java.lang.String,java.lang.String>> getDeploymentConfigurations(java.lang.String appName)
- Return a list of deployment descriptor maps for the specified
application.
In each map:
a. The module name is stored by the MODULE_NAME_KEY.
b. The path of the deployment descriptor is stored by the DD_PATH_KEY.
c. The content of the deployment descriptor is stored by the
DD_CONTENT_KEY.
- Parameters:
the - application name
- Returns:
- the list of deployment descriptor maps
stopDomain
public void stopDomain()
restartDomain
public void restartDomain()
getRESTBaseURL
public java.lang.String getRESTBaseURL()
executeREST
public java.lang.String executeREST(java.lang.String cmd)
getSupportedCipherSuites
public java.lang.String[] getSupportedCipherSuites()
getJMXServiceURLs
public java.lang.String[] getJMXServiceURLs()
getJVMReport
public java.lang.String getJVMReport(java.lang.String type)
isStartedInDebugMode
public boolean isStartedInDebugMode()
getSubComponentsOfModule
public java.util.Map<java.lang.String,java.lang.String> getSubComponentsOfModule(java.lang.String applicationName,
java.lang.String moduleName)
- Return the subcomponents (ejb/web) of a specified module.
- Parameters:
applicationName - the application namemoduleName - the module name
- Returns:
- a map of the sub components, where the key is the component
name and the value is the component type
getContextRoot
public java.lang.String getContextRoot(java.lang.String applicationName,
java.lang.String moduleName)
- Return the context root of a specified module.
- Parameters:
applicationName - the application namemoduleName - the module name
- Returns:
- the context root of a specified module
Copyright © 2012 GlassFish Community. All Rights Reserved.