public class ResourceDeployAdmin extends AbstractManagedObject implements ResourceDeployMXBean
Constructor and Description |
---|
ResourceDeployAdmin(ResourceDeploy resourceDeploy) |
Modifier and Type | Method and Description |
---|---|
void |
deploy(java.lang.String name)
Deploys the resource with the given name
|
java.lang.String |
getArchiveDirectory() |
java.lang.String |
getArchivePath(java.lang.String name) |
java.lang.Throwable |
getConfigException() |
java.lang.Throwable |
getConfigException(java.lang.String moduleID) |
long |
getDependencyCheckInterval() |
java.lang.String |
getExpandDirectory() |
java.lang.String |
getExpandPath(java.lang.String name) |
java.lang.String |
getExpandPrefix() |
java.lang.String |
getExpandSuffix() |
java.lang.String |
getExtension() |
java.lang.String |
getName()
The JMX name property of the mbean.
|
java.lang.String[] |
getNames() |
java.lang.String |
getRedeployMode() |
protected ResourceDeploy |
getResourceDeploy() |
java.lang.String |
getStartupMode() |
java.lang.String |
getState() |
boolean |
isModified() |
void |
start() |
void |
start(java.lang.String name)
Starts the resource with the given name
|
void |
stop() |
void |
stop(java.lang.String name)
Stops the resource with the given name
|
void |
undeploy(java.lang.String name)
Undeploys the resource with the given name
|
void |
update() |
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getObjectName, getType
public ResourceDeployAdmin(ResourceDeploy resourceDeploy)
protected ResourceDeploy getResourceDeploy()
public java.lang.String getName()
AbstractManagedObject
getName
in interface ManagedObjectMXBean
getName
in class AbstractManagedObject
public long getDependencyCheckInterval()
getDependencyCheckInterval
in interface ArchiveDeployMXBean
public java.lang.String getArchiveDirectory()
getArchiveDirectory
in interface ArchiveDeployMXBean
public java.lang.String getArchivePath(java.lang.String name)
getArchivePath
in interface ArchiveDeployMXBean
public java.lang.String getExtension()
getExtension
in interface ArchiveDeployMXBean
public java.lang.String getExpandDirectory()
getExpandDirectory
in interface ArchiveDeployMXBean
public java.lang.String getExpandPrefix()
getExpandPrefix
in interface ArchiveDeployMXBean
public java.lang.String getExpandSuffix()
getExpandSuffix
in interface ArchiveDeployMXBean
public java.lang.String getExpandPath(java.lang.String name)
getExpandPath
in interface ArchiveDeployMXBean
public java.lang.String getRedeployMode()
getRedeployMode
in interface DeployMXBean
public java.lang.String getStartupMode()
getStartupMode
in interface DeployMXBean
public boolean isModified()
isModified
in interface DeployMXBean
public java.lang.String getState()
getState
in interface DeployMXBean
public void start()
start
in interface DeployMXBean
public java.lang.Throwable getConfigException()
getConfigException
in interface DeployMXBean
public void stop()
stop
in interface DeployMXBean
public void update()
update
in interface DeployMXBean
public java.lang.String[] getNames()
getNames
in interface ArchiveDeployMXBean
public void deploy(java.lang.String name)
ArchiveDeployMXBean
deploy
in interface ArchiveDeployMXBean
name
- the resource's name, e.g. "/my-web-app"public void start(java.lang.String name)
ArchiveDeployMXBean
start
in interface ArchiveDeployMXBean
name
- the resource's name, e.g. "/my-web-app"public java.lang.Throwable getConfigException(java.lang.String moduleID)
getConfigException
in interface ArchiveDeployMXBean
public void stop(java.lang.String name)
ArchiveDeployMXBean
stop
in interface ArchiveDeployMXBean
name
- the resource's name, e.g. "/my-web-app"public void undeploy(java.lang.String name)
ArchiveDeployMXBean
undeploy
in interface ArchiveDeployMXBean
name
- the resource's name, e.g. "/my-web-app"