public class HostAdmin extends DeployControllerAdmin<HostController> implements HostMXBean
Constructor and Description |
---|
HostAdmin(HostController controller)
Creates the admin.
|
Modifier and Type | Method and Description |
---|---|
void |
expandEarDeploy(java.lang.String name)
Expand a .ear deployment.
|
java.lang.String |
getDocumentDirectory()
Returns the host's document directory.
|
protected Host |
getHost()
Returns the host.
|
java.lang.String |
getHostName()
Returns the host name.
|
java.lang.String |
getName()
The JMX name property of the mbean.
|
java.lang.String |
getRootDirectory()
Returns the host's document directory.
|
java.lang.String |
getURL()
Returns the URL
|
java.lang.String |
getWarDirectory()
Returns the host's war directory.
|
java.lang.String |
getWarExpandDirectory()
Returns the primary war expand directory.
|
WebAppMXBean[] |
getWebApps()
Returns the webapps.
|
void |
startEarDeploy(java.lang.String name)
Start a .ear deployment.
|
java.lang.String |
toString()
Returns a string view.
|
void |
updateEarDeploy(java.lang.String name)
Updates a .ear deployment.
|
void |
updateWebAppDeploy(java.lang.String name)
Updates a .war deployment.
|
addNotificationListener, destroy, getClassPath, getController, getErrorMessage, getId, getNotificationInfo, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getStartTime, getStartupMode, getState, lifecycleEvent, register, removeNotificationListener, removeNotificationListener, restart, start, stop, unregister, update
addObjectNameProperties, getObjectName, getType, registerSelf, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
destroy, getClassPath, getErrorMessage, getId, getRedeployCheckInterval, getRedeployMode, getRepositoryMetaData, getStartTime, getStartupMode, getState, restart, start, stop, update
getObjectName, getType
public HostAdmin(HostController controller)
public java.lang.String getName()
AbstractManagedObject
getName
in interface ManagedObjectMXBean
getName
in class DeployControllerAdmin<HostController>
public java.lang.String getHostName()
HostMXBean
getHostName
in interface HostMXBean
public java.lang.String getURL()
HostMXBean
getURL
in interface HostMXBean
public java.lang.String getRootDirectory()
getRootDirectory
in interface DeployControllerMXBean
getRootDirectory
in interface HostMXBean
getRootDirectory
in class DeployControllerAdmin<HostController>
public java.lang.String getDocumentDirectory()
public java.lang.String getWarDirectory()
getWarDirectory
in interface HostMXBean
public java.lang.String getWarExpandDirectory()
HostMXBean
getWarExpandDirectory
in interface HostMXBean
public void updateWebAppDeploy(java.lang.String name) throws DeployException
updateWebAppDeploy
in interface HostMXBean
DeployException
public void updateEarDeploy(java.lang.String name) throws DeployException
updateEarDeploy
in interface HostMXBean
DeployException
public void expandEarDeploy(java.lang.String name)
expandEarDeploy
in interface HostMXBean
public void startEarDeploy(java.lang.String name)
startEarDeploy
in interface HostMXBean
public WebAppMXBean[] getWebApps()
getWebApps
in interface HostMXBean
protected Host getHost()
public java.lang.String toString()
toString
in class DeployControllerAdmin<HostController>