com.caucho.management.server
Interface DeployControllerMXBean

All Superinterfaces:
ManagedObjectMXBean
All Known Subinterfaces:
EAppMXBean, HostMXBean, WebAppMXBean
All Known Implementing Classes:
DeployControllerAdmin, EarAdmin, HostAdmin, WebAppAdmin

public interface DeployControllerMXBean
extends ManagedObjectMXBean

Management interface for the deploy controller.


Method Summary
 long getRedeployCheckInterval()
          Returns the interval between redploy checks.
 java.lang.String getRedeployMode()
          Returns the redeploy mode, one of "default", "automatic", "lazy", or "manual".
 java.util.Date getStartTime()
          Returns the time the controller was last started.
 java.lang.String getStartupMode()
          Returns the startup mode, one of "default", "automatic", "lazy", or "manual".
 java.lang.String getState()
          Returns the controller's state.
 void restart()
          Restarts the instance.
 void start()
          Starts the instance.
 void stop()
          Stops the instance.
 void update()
          Restarts the instance if any changes are detected.
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getStartupMode

java.lang.String getStartupMode()
Returns the startup mode, one of "default", "automatic", "lazy", or "manual".


getRedeployMode

java.lang.String getRedeployMode()
Returns the redeploy mode, one of "default", "automatic", "lazy", or "manual".


getRedeployCheckInterval

@Units(value="milliseconds")
long getRedeployCheckInterval()
Returns the interval between redploy checks.


getState

java.lang.String getState()
Returns the controller's state.


getStartTime

java.util.Date getStartTime()
Returns the time the controller was last started.


start

void start()
           throws java.lang.Exception
Starts the instance.

Throws:
java.lang.Exception

stop

void stop()
          throws java.lang.Exception
Stops the instance.

Throws:
java.lang.Exception

restart

void restart()
             throws java.lang.Exception
Restarts the instance.

Throws:
java.lang.Exception

update

void update()
            throws java.lang.Exception
Restarts the instance if any changes are detected.

Throws:
java.lang.Exception