com.caucho.management.server
Interface HostMXBean

All Superinterfaces:
DeployControllerMXBean, ManagedObjectMXBean
All Known Implementing Classes:
HostAdmin

public interface HostMXBean
extends DeployControllerMXBean

Management interface for the host.

 resin:type=Host,name=foo.com
 


Method Summary
 void expandEarDeploy(java.lang.String name)
          Expand an ear entry from the deployment directories.
 java.lang.String getHostName()
          Returns the host name.
 java.lang.String getRootDirectory()
          Returns the root directory.
 java.lang.String getURL()
          Returns the URL
 java.lang.String getWarDirectory()
          Returns the primary war directory.
 java.lang.String getWarExpandDirectory()
          Returns the primary war expand directory.
 WebAppMXBean[] getWebApps()
          Returns an array of the webapps
 void startEarDeploy(java.lang.String name)
          Start an ear entry from the deployment directories.
 void updateEarDeploy(java.lang.String name)
          Updates an ear entry from the deployment directories.
 void updateWebAppDeploy(java.lang.String name)
          Updates a web-app entry from the deployment directories.
 
Methods inherited from interface com.caucho.management.server.DeployControllerMXBean
destroy, getClassPath, getErrorMessage, getId, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getStartTime, getStartupMode, getState, restart, start, stop, update
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getHostName

java.lang.String getHostName()
Returns the host name.


getURL

java.lang.String getURL()
Returns the URL


getWebApps

WebAppMXBean[] getWebApps()
Returns an array of the webapps


getRootDirectory

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

Specified by:
getRootDirectory in interface DeployControllerMXBean

getWarDirectory

java.lang.String getWarDirectory()
Returns the primary war directory.


getWarExpandDirectory

java.lang.String getWarExpandDirectory()
Returns the primary war expand directory.


updateWebAppDeploy

void updateWebAppDeploy(java.lang.String name)
                        throws java.lang.Exception
Updates a web-app entry from the deployment directories.

Throws:
java.lang.Exception

updateEarDeploy

void updateEarDeploy(java.lang.String name)
                     throws java.lang.Exception
Updates an ear entry from the deployment directories.

Throws:
java.lang.Exception

expandEarDeploy

void expandEarDeploy(java.lang.String name)
Expand an ear entry from the deployment directories.


startEarDeploy

void startEarDeploy(java.lang.String name)
Start an ear entry from the deployment directories.