com.caucho.management.server
Interface ArchiveDeployMXBean

All Superinterfaces:
DeployMXBean, ManagedObjectMXBean
All Known Subinterfaces:
EarDeployMXBean, HostDeployMXBean, ResourceDeployMXBean, WebAppDeployMXBean
All Known Implementing Classes:
EarDeployGeneratorAdmin, ExpandDeployGeneratorAdmin, HostExpandDeployGeneratorAdmin, ResourceDeployAdmin, WebAppExpandDeployGeneratorAdmin

public interface ArchiveDeployMXBean
extends DeployMXBean


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[] 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 interface com.caucho.management.server.DeployMXBean
getConfigException, getRedeployMode, getStartupMode, getState, isModified, start, stop, update
 
Methods inherited from interface com.caucho.management.server.ManagedObjectMXBean
getName, getObjectName, getType
 

Method Detail

getDependencyCheckInterval

@Units(value="milliseconds")
long getDependencyCheckInterval()

getArchiveDirectory

java.lang.String getArchiveDirectory()

getExtension

java.lang.String getExtension()

getExpandDirectory

java.lang.String getExpandDirectory()

getExpandPrefix

java.lang.String getExpandPrefix()

getExpandSuffix

java.lang.String getExpandSuffix()

getArchivePath

java.lang.String getArchivePath(java.lang.String name)

getExpandPath

java.lang.String getExpandPath(java.lang.String name)

deploy

void deploy(java.lang.String name)
Deploys the resource with the given name

Parameters:
name - the resource's name, e.g. "/my-web-app"

start

void start(java.lang.String name)
Starts the resource with the given name

Parameters:
name - the resource's name, e.g. "/my-web-app"

stop

void stop(java.lang.String name)
Stops the resource with the given name

Parameters:
name - the resource's name, e.g. "/my-web-app"

undeploy

void undeploy(java.lang.String name)
Undeploys the resource with the given name

Parameters:
name - the resource's name, e.g. "/my-web-app"

getNames

java.lang.String[] getNames()

getConfigException

java.lang.Throwable getConfigException(java.lang.String name)