org.glassfish.admin.amx.impl.j2ee
Class J2EEDomainImpl

java.lang.Object
  extended by org.glassfish.admin.amx.impl.mbean.MBeanImplBase
      extended by org.glassfish.admin.amx.impl.mbean.AMXImplBase
          extended by org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
              extended by 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
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
J2EEDomainImpl(ObjectName parentObjectName, Metadata meta)
           
 
Method Summary
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
 String getServerName()
           
 String[] getservers()
          JSR 77 impl
protected  void registerChildren()
           
 void setServerName(String serverName)
           
 
Methods inherited from class org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
defaultChildMetadata, getChildrenAsStrings, getChildrenAsStrings, getCorrespondingConfig, getdeployedObjects, getDomain, getJ2EEServer, getMEJB, getobjectName, getServerObjectName, getstartTime, getstate, iseventProvider, isstateManageable, isstatisticsProvider, j2eeType, metadata, preRegisterModifyName
 
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.MBeanRegistration
postDeregister, postRegister, preDeregister
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, 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 class J2EEManagedObjectImplBase
Returns:

registerChildren

protected void registerChildren()
Overrides:
registerChildren in class AMXImplBase

getServerName

public String getServerName()
Overrides:
getServerName in class J2EEManagedObjectImplBase

setServerName

public void setServerName(String serverName)


Copyright © 2012. All Rights Reserved.