Java EE 5 SDK

com.sun.appserv.management.j2ee
Interface J2EELogicalServer

All Superinterfaces:
AMX, AMXMBeanLogging, ConfigProvider, J2EEManagedObject, NotificationBroadcaster, NotificationEmitter, StateManageable
All Known Subinterfaces:
J2EECluster, J2EEServer

public interface J2EELogicalServer
extends J2EEManagedObject, StateManageable

Base interface only (for cluster and standalone server)


Field Summary
 
Fields inherited from interface com.sun.appserv.management.base.AMX
FULL_TYPE_DELIM, GROUP_CONFIGURATION, GROUP_JSR77, GROUP_MONITORING, GROUP_OTHER, GROUP_UTILITY, J2EE_TYPE_KEY, JMX_DOMAIN, NAME_KEY, NO_NAME, NOTIFICATION_PREFIX, NULL_NAME
 
Fields inherited from interface com.sun.appserv.management.j2ee.StateManageable
STATE_FAILED, STATE_RUNNING, STATE_STARTING, STATE_STOPPED, STATE_STOPPING
 
Method Summary
 void startApp(String appID, Map<String,String> optional)
          Start the application on this Server.
 void stopApp(String appID, Map<String,String> optional)
          Stop the application on this Server.
 
Methods inherited from interface com.sun.appserv.management.j2ee.J2EEManagedObject
getConfigPeer, getMonitoringPeer, getobjectName, iseventProvider, isstateManageable, isstatisticProvider, isstatisticsProvider
 
Methods inherited from interface com.sun.appserv.management.base.AMX
getContainer, getDomainRoot, getFullType, getGroup, getJ2EEType, getName, isDAS
 
Methods inherited from interface javax.management.NotificationEmitter
removeNotificationListener
 
Methods inherited from interface javax.management.NotificationBroadcaster
addNotificationListener, getNotificationInfo, removeNotificationListener
 
Methods inherited from interface com.sun.appserv.management.base.AMXMBeanLogging
getMBeanLoggerName, getMBeanLogLevel, setMBeanLogLevel
 
Methods inherited from interface com.sun.appserv.management.j2ee.ConfigProvider
isConfigProvider
 
Methods inherited from interface com.sun.appserv.management.j2ee.StateManageable
getstartTime, getstate, start, startRecursive, stop
 

Method Detail

startApp

void startApp(String appID,
              Map<String,String> optional)
Start the application on this Server.

Parameters:
appID - The application ID
optional - Optional parameters supplied as name-value pairs The parameters are documented here: DeploymentMgr.startDeploy(java.lang.Object, java.lang.Object, java.lang.Object, java.util.Map)

stopApp

void stopApp(String appID,
             Map<String,String> optional)
Stop the application on this Server.

Parameters:
appID - The application ID
optional - Optional parameters supplied as name-value pairs The parameters are documented here: DeploymentMgr.startDeploy(java.lang.Object, java.lang.Object, java.lang.Object, java.util.Map)

Java EE 5 SDK

Submit a bug or feature

Copyright 2006 Sun Microsystems, Inc. All rights reserved.