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
 boolean destroy()
           
 java.lang.String[] getClassPath()
          Returns the classpath
 java.lang.String getErrorMessage()
          Returns any error message
 java.lang.String getId()
           
 long getRedeployCheckInterval()
          Returns the interval between redeploy checks.
 java.lang.String getRedeployMode()
          Returns the redeploy mode, one of "default", "automatic", "lazy", or "manual".
 java.util.Map<java.lang.String,java.lang.String> getRepositoryMetaData()
          Returns the repository metadata for the entry.
 java.lang.String getRootDirectory()
          Returns the root directory.
 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

getId

java.lang.String getId()

getRootDirectory

java.lang.String getRootDirectory()
Returns the root directory.


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 redeploy checks.


getClassPath

java.lang.String[] getClassPath()
Returns the classpath


getRepositoryMetaData

java.util.Map<java.lang.String,java.lang.String> getRepositoryMetaData()
Returns the repository metadata for the entry.


getState

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


getErrorMessage

java.lang.String getErrorMessage()
Returns any error message


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

destroy

boolean destroy()
                throws java.lang.Exception
Throws:
java.lang.Exception