|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.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(File file)
|
|
DeploymentFileData(File file,
Deployer deployer)
|
Method Summary | |
---|---|
void |
deploy()
|
String |
getAbsolutePath()
|
ClassLoader |
getClassLoader()
|
Deployer |
getDeployer()
|
File |
getFile()
|
static String |
getFileExtension(String fileName)
|
String |
getName()
Get the name of the file. |
String |
getServiceName()
Deprecated. please use getName() instead - this will disappear after 1.3. |
static boolean |
isModuleArchiveFile(String filename)
|
static boolean |
isServiceArchiveFile(String filename)
Checks whether a given file is a jar or an aar file. |
void |
setClassLoader(boolean isDirectory,
ClassLoader parent,
File file,
boolean isChildFirstClassLoading)
|
void |
setClassLoader(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(File file)
public DeploymentFileData(File file, Deployer deployer)
Method Detail |
---|
public String getAbsolutePath()
public ClassLoader getClassLoader()
public File getFile()
public String getName()
public String getServiceName()
public static boolean isModuleArchiveFile(String filename)
public static boolean isServiceArchiveFile(String filename)
filename
- file to check
public static String getFileExtension(String fileName)
public void setClassLoader(ClassLoader classLoader)
public void setClassLoader(boolean isDirectory, ClassLoader parent, File file, boolean isChildFirstClassLoading) 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 |