|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.caucho.server.deploy.DeployController<I>
com.caucho.server.deploy.ExpandDeployController<I>
public abstract class ExpandDeployController<I extends DeployInstance>
A deployment entry that expands from an archive (Jar/Zip) file.
| Field Summary |
|---|
| Fields inherited from class com.caucho.server.deploy.DeployController |
|---|
_lifecycle, REDEPLOY_AUTOMATIC, REDEPLOY_CHECK_INTERVAL, REDEPLOY_DEFAULT, REDEPLOY_LAZY, REDEPLOY_MANUAL, STARTUP_AUTOMATIC, STARTUP_DEFAULT, STARTUP_LAZY, STARTUP_MANUAL |
| Constructor Summary | |
|---|---|
protected |
ExpandDeployController(java.lang.String id)
|
protected |
ExpandDeployController(java.lang.String id,
java.lang.ClassLoader loader,
Path rootDirectory)
|
| Method Summary | |
|---|---|
protected void |
addManifestClassPath()
Adds any class path from the manifest. |
boolean |
equals(java.lang.Object o)
Returns equality. |
protected void |
expandArchive()
Expand an archive file. |
Path |
getArchivePath()
Gets the archive path. |
GitRepository |
getGit()
The Git repository |
Path |
getGitRefPath()
The Git ref path |
java.util.jar.Manifest |
getManifest()
Returns the manifest. |
java.util.Map<java.lang.String,java.lang.String> |
getManifestAttributes()
Returns the manifest as an attribute map |
Path |
getRootDirectory()
Gets the root directory |
int |
hashCode()
Returns the hash code. |
protected void |
mergeController(DeployController oldControllerV)
Merges with the old controller. |
protected void |
removeExpandDirectory(Path path)
Recursively remove all files in a directory. |
protected void |
removeExpandDirectory(Path path,
java.lang.String prefix)
Recursively remove all files in a directory. |
protected void |
removeExpandFile(Path path,
java.lang.String prefix)
Removes an expanded file. |
void |
setArchivePath(Path path)
Sets the archive path. |
void |
setExpandCleanupFileSet(FileSetType fileSet)
Sets the archive auto-remove file set. |
void |
setGit(GitRepository git)
The Git repository |
void |
setGitRefPath(Path path)
The Git ref path |
void |
setManifestClassLoader(DynamicClassLoader loader)
Sets the manifest class loader. |
protected void |
setRootDirectory(Path rootDirectory)
Sets the root directory |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected ExpandDeployController(java.lang.String id)
protected ExpandDeployController(java.lang.String id,
java.lang.ClassLoader loader,
Path rootDirectory)
| Method Detail |
|---|
public Path getRootDirectory()
protected void setRootDirectory(Path rootDirectory)
public Path getArchivePath()
public void setArchivePath(Path path)
public GitRepository getGit()
public void setGit(GitRepository git)
public Path getGitRefPath()
public void setGitRefPath(Path path)
public java.util.jar.Manifest getManifest()
public java.util.Map<java.lang.String,java.lang.String> getManifestAttributes()
public void setManifestClassLoader(DynamicClassLoader loader)
public void setExpandCleanupFileSet(FileSetType fileSet)
protected void mergeController(DeployController oldControllerV)
mergeController in class DeployController<I extends DeployInstance>
protected void expandArchive()
throws java.io.IOException
expandArchive in class DeployController<I extends DeployInstance>java.io.IOException
protected void addManifestClassPath()
throws java.io.IOException
addManifestClassPath in class DeployController<I extends DeployInstance>java.io.IOExceptionprotected void removeExpandDirectory(Path path)
path - root directory to start removal
protected void removeExpandDirectory(Path path,
java.lang.String prefix)
dir - root directory to start removal
protected void removeExpandFile(Path path,
java.lang.String prefix)
throws java.io.IOException
java.io.IOExceptionpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||