com.caucho.env.deploy
Class ExpandDeployGeneratorAdmin<C extends ExpandDeployGenerator>
java.lang.Object
com.caucho.management.server.AbstractManagedObject
com.caucho.env.deploy.DeployGeneratorAdmin<C>
com.caucho.env.deploy.ExpandDeployGeneratorAdmin<C>
- All Implemented Interfaces:
- ArchiveDeployMXBean, DeployMXBean, ManagedObjectMXBean
- Direct Known Subclasses:
- EarDeployGeneratorAdmin, HostExpandDeployGeneratorAdmin, WebAppExpandDeployGeneratorAdmin
public abstract class ExpandDeployGeneratorAdmin<C extends ExpandDeployGenerator>
- extends DeployGeneratorAdmin<C>
- implements ArchiveDeployMXBean
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ExpandDeployGeneratorAdmin
public ExpandDeployGeneratorAdmin(C expandDeployGenerator)
getName
public java.lang.String getName()
- Description copied from class:
AbstractManagedObject
- The JMX name property of the mbean.
- Specified by:
getName
in interface ManagedObjectMXBean
- Specified by:
getName
in class DeployGeneratorAdmin<C extends ExpandDeployGenerator>
getDependencyCheckInterval
public long getDependencyCheckInterval()
- Specified by:
getDependencyCheckInterval
in interface ArchiveDeployMXBean
getArchiveDirectory
public java.lang.String getArchiveDirectory()
- Specified by:
getArchiveDirectory
in interface ArchiveDeployMXBean
getArchivePath
public java.lang.String getArchivePath(java.lang.String name)
- Specified by:
getArchivePath
in interface ArchiveDeployMXBean
getExpandDirectory
public java.lang.String getExpandDirectory()
- Specified by:
getExpandDirectory
in interface ArchiveDeployMXBean
getExpandPrefix
public java.lang.String getExpandPrefix()
- Specified by:
getExpandPrefix
in interface ArchiveDeployMXBean
getExpandPath
public java.lang.String getExpandPath(java.lang.String name)
- Specified by:
getExpandPath
in interface ArchiveDeployMXBean
getExpandSuffix
public java.lang.String getExpandSuffix()
- Specified by:
getExpandSuffix
in interface ArchiveDeployMXBean
getExtension
public java.lang.String getExtension()
- Specified by:
getExtension
in interface ArchiveDeployMXBean
getNames
public java.lang.String[] getNames()
- Specified by:
getNames
in interface ArchiveDeployMXBean
deploy
public void deploy(java.lang.String name)
- Description copied from interface:
ArchiveDeployMXBean
- Deploys the resource with the given name
- Specified by:
deploy
in interface ArchiveDeployMXBean
- Parameters:
name
- the resource's name, e.g. "/my-web-app"
start
public void start(java.lang.String name)
- Description copied from interface:
ArchiveDeployMXBean
- Starts the resource with the given name
- Specified by:
start
in interface ArchiveDeployMXBean
- Parameters:
name
- the resource's name, e.g. "/my-web-app"
stop
public void stop(java.lang.String name)
- Description copied from interface:
ArchiveDeployMXBean
- Stops the resource with the given name
- Specified by:
stop
in interface ArchiveDeployMXBean
- Parameters:
name
- the resource's name, e.g. "/my-web-app"
undeploy
public void undeploy(java.lang.String name)
- Description copied from interface:
ArchiveDeployMXBean
- Undeploys the resource with the given name
- Specified by:
undeploy
in interface ArchiveDeployMXBean
- Parameters:
name
- the resource's name, e.g. "/my-web-app"
getConfigException
public java.lang.Throwable getConfigException(java.lang.String name)
- Specified by:
getConfigException
in interface ArchiveDeployMXBean