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
,AMX_SPI
,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
-
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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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=nullString
getServerName()
String[]
getservers()
JSR 77 implprotected void
registerChildren()
void
setServerName(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, 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, 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:J2EEManagedObjectImplBase
Deals with the special-case requirements of JSR 77: ancestor properties as well as some types require a J2EEApplication=null- Overrides:
getExtraObjectNameProps
in classJ2EEManagedObjectImplBase
- Returns:
-
registerChildren
protected void registerChildren()
- Overrides:
registerChildren
in classAMXImplBase
-
getServerName
public String getServerName()
- Overrides:
getServerName
in classJ2EEManagedObjectImplBase
-
setServerName
public void setServerName(String serverName)
-
-