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

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.J2EELogicalServerImplBase
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, NotificationBroadcaster, NotificationEmitter, AMX_SPI, NotificationSender
Direct Known Subclasses:
J2EEServerImpl

public class J2EELogicalServerImplBase
extends J2EEManagedObjectImplBase

Base interface only (for cluster and standalone server)


Field Summary
 
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
J2EELogicalServerImplBase(ObjectName parentObjectName, Metadata meta, Class<? extends J2EELogicalServer> intf)
           
 
Method Summary
 int getstate()
           
 void start()
           
 void startApp(String appID, Map<String,Serializable> optional)
          starts the app
 void startRecursive()
           
 void stop()
           
 void stopApp(String appID, Map<String,Serializable> optional)
          stops the app
 
Methods inherited from class org.glassfish.admin.amx.impl.j2ee.J2EEManagedObjectImplBase
defaultChildMetadata, getChildrenAsStrings, getChildrenAsStrings, getCorrespondingConfig, getdeployedObjects, getDomain, getExtraObjectNameProps, getJ2EEServer, getMEJB, getobjectName, getServerName, getServerObjectName, getstartTime, 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, 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
 
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
 

Constructor Detail

J2EELogicalServerImplBase

public J2EELogicalServerImplBase(ObjectName parentObjectName,
                                 Metadata meta,
                                 Class<? extends J2EELogicalServer> intf)
Method Detail

getstate

public int getstate()
Overrides:
getstate in class J2EEManagedObjectImplBase

start

public void start()

startRecursive

public void startRecursive()

stop

public void stop()

startApp

public void startApp(String appID,
                     Map<String,Serializable> optional)
starts the app


stopApp

public void stopApp(String appID,
                    Map<String,Serializable> optional)
stops the app



Copyright © 2012. All Rights Reserved.