public class ResourceDeploy
extends java.lang.Object
Constructor and Description |
---|
ResourceDeploy() |
Modifier and Type | Method and Description |
---|---|
Path |
getArchiveDirectory() |
Path |
getArchivePath(java.lang.String name) |
java.lang.Throwable |
getConfigException() |
java.lang.Throwable |
getConfigException(java.lang.String moduleID) |
long |
getDependencyCheckInterval() |
Path |
getExpandDirectory()
Gets the rar expand directory.
|
protected java.lang.String |
getExpandName(java.lang.String name)
Returns the combination of prefix, name, and suffix used for expanded
archives.
|
Path |
getExpandPath()
Deprecated.
use
@getExpandDirectory |
Path |
getExpandPath(java.lang.String name)
Returns the location of an expanded archive, or null if no archive with
the passed name is deployed.
|
java.lang.String |
getExpandPrefix()
Returns the expand prefix.
|
java.lang.String |
getExpandSuffix() |
java.lang.String |
getExtension() |
java.lang.String[] |
getNames() |
Path |
getPath()
Gets the rar directory.
|
DeployMode |
getRedeployMode() |
DeployMode |
getStartupMode() |
java.lang.String |
getState() |
void |
init()
Initialize the resource-deploy.
|
boolean |
isModified() |
void |
setExpandPath(Path path)
Sets the war expand dir to check for new applications.
|
void |
setExpandPrefix(java.lang.String prefix)
Sets the expand prefix.
|
void |
setPath(Path path)
Sets the rar directory.
|
void |
start() |
void |
start(java.lang.String name) |
void |
stop() |
void |
stop(java.lang.String name) |
void |
undeploy(java.lang.String name) |
void |
update() |
public Path getPath()
public void setPath(Path path)
public Path getArchiveDirectory()
public Path getArchivePath(java.lang.String name)
protected java.lang.String getExpandName(java.lang.String name)
public void setExpandPath(Path path)
public Path getExpandPath()
@getExpandDirectory
public Path getExpandDirectory()
public Path getExpandPath(java.lang.String name)
name
- a name, without an extensionpublic java.lang.String getExpandPrefix()
public void setExpandPrefix(java.lang.String prefix)
public boolean isModified()
@PostConstruct public void init() throws ConfigException
ConfigException
public java.lang.String getExtension()
public java.lang.String getExpandSuffix()
public long getDependencyCheckInterval()
public DeployMode getStartupMode()
public DeployMode getRedeployMode()
public java.lang.String getState()
public void start()
public java.lang.Throwable getConfigException()
public void stop()
public void update()
public java.lang.String[] getNames()
public void stop(java.lang.String name)
public void start(java.lang.String name)
public java.lang.Throwable getConfigException(java.lang.String moduleID)
public void undeploy(java.lang.String name)