org.apache.axis2.deployment.repository.util
Class ArchiveFileData
java.lang.Object
org.apache.axis2.deployment.repository.util.ArchiveFileData
public class ArchiveFileData
- extends Object
ArchiveFileData stores information about the module or service item to be deployed.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArchiveFileData
public ArchiveFileData(File file,
int type,
boolean lock)
ArchiveFileData
public ArchiveFileData(int type,
String name,
boolean lock)
getAbsolutePath
public String getAbsolutePath()
getClassLoader
public ClassLoader getClassLoader()
getDeployableServices
public ArrayList getDeployableServices()
getFile
public File getFile()
getMessageReceiver
public String getMessageReceiver()
getName
public String getName()
getServiceName
public String getServiceName()
getType
public int getType()
isModuleArchiveFile
public static boolean isModuleArchiveFile(String filename)
isServiceArchiveFile
public static boolean isServiceArchiveFile(String filename)
- Checks whether a given file is a jar or an aar file.
- Parameters:
filename
-
- Returns:
- Returns boolean.
setClassLoader
public void setClassLoader(ClassLoader classLoader)
setClassLoader
public void setClassLoader(boolean extractArchive,
ClassLoader parent)
throws AxisFault
- Throws:
AxisFault
setDeployableServices
public void setDeployableServices(ArrayList deployableServices)
setMessageReceiver
public void setMessageReceiver(String messageReceiver)