com.caucho.env.deploy
Class ExpandDeployGeneratorAdmin<C extends ExpandDeployGenerator>

java.lang.Object
  extended by com.caucho.management.server.AbstractManagedObject
      extended by com.caucho.env.deploy.DeployGeneratorAdmin<C>
          extended by 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


Constructor Summary
ExpandDeployGeneratorAdmin(C expandDeployGenerator)
           
 
Method Summary
 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.String name)
           
 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()
           
 void start(java.lang.String name)
          Starts the resource with the given name
 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
 
Methods inherited from class com.caucho.env.deploy.DeployGeneratorAdmin
getConfigException, getDeployGenerator, getRedeployMode, getStartupMode, getState, isModified, start, stop, update
 
Methods inherited from class com.caucho.management.server.AbstractManagedObject
addObjectNameProperties, getObjectName, getType, registerSelf, toString, unregisterSelf
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.caucho.management.server.DeployMXBean
getConfigException, getRedeployMode, getStartupMode, getState, isModified, start, stop, update
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getObjectName, getType
 

Constructor Detail

ExpandDeployGeneratorAdmin

public ExpandDeployGeneratorAdmin(C expandDeployGenerator)
Method Detail

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