|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.axis2.deployment.repository.util.DeploymentFileData
public class DeploymentFileData
DeploymentFileData represents a "thing to deploy" in Axis2. It consists of a file, a deployment ClassLoader, and a Deployer.
Constructor Summary | |
---|---|
DeploymentFileData(java.io.File file)
|
|
DeploymentFileData(java.io.File file,
Deployer deployer)
|
Method Summary | |
---|---|
void |
deploy()
|
java.lang.String |
getAbsolutePath()
|
java.lang.ClassLoader |
getClassLoader()
|
Deployer |
getDeployer()
|
java.io.File |
getFile()
|
static java.lang.String |
getFileExtension(java.lang.String fileName)
|
java.lang.String |
getName()
Get the name of the file. |
java.lang.String |
getServiceName()
Deprecated. please use getName() instead - this will disappear after 1.3. |
static boolean |
isModuleArchiveFile(java.lang.String filename)
|
static boolean |
isServiceArchiveFile(java.lang.String filename)
Checks whether a given file is a jar or an aar file. |
void |
setClassLoader(boolean isDirectory,
java.lang.ClassLoader parent,
java.io.File file)
|
void |
setClassLoader(java.lang.ClassLoader classLoader)
|
void |
setDeployer(Deployer deployer)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DeploymentFileData(java.io.File file)
public DeploymentFileData(java.io.File file, Deployer deployer)
Method Detail |
---|
public java.lang.String getAbsolutePath()
public java.lang.ClassLoader getClassLoader()
public java.io.File getFile()
public java.lang.String getName()
public java.lang.String getServiceName()
public static boolean isModuleArchiveFile(java.lang.String filename)
public static boolean isServiceArchiveFile(java.lang.String filename)
filename
- file to check
public static java.lang.String getFileExtension(java.lang.String fileName)
public void setClassLoader(java.lang.ClassLoader classLoader)
public void setClassLoader(boolean isDirectory, java.lang.ClassLoader parent, java.io.File file) throws AxisFault
AxisFault
public Deployer getDeployer()
public void setDeployer(Deployer deployer)
public void deploy() throws DeploymentException
DeploymentException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |