|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.axis2.deployment.AbstractDeployer
org.apache.axis2.jaxws.framework.JAXWSDeployer
public class JAXWSDeployer
Field Summary | |
---|---|
protected AxisConfiguration |
axisConfig
|
protected ConfigurationContext |
configCtx
|
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer |
---|
deploymentFileDataMap |
Constructor Summary | |
---|---|
JAXWSDeployer()
|
Method Summary | |
---|---|
protected AxisService |
createAxisService(ClassLoader classLoader,
String className,
URL serviceLocation)
|
void |
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configuration |
protected AxisServiceGroup |
deployClasses(String groupName,
URL location,
ClassLoader classLoader,
List<String> classList)
|
protected void |
deployServicesInWARClassPath()
|
protected ArrayList<String> |
getClassesInWebInfDirectory(File file)
|
void |
init(ConfigurationContext configCtx)
Initialize the Deployer |
static boolean |
isJar(File f)
Check if this inputstream is a jar/zip |
void |
setDirectory(String directory)
Set the directory |
void |
setExtension(String extension)
Set the extension to look for TODO: Support multiple extensions? |
protected void |
storeFaultyService(DeploymentFileData deploymentFileData,
Throwable t)
|
void |
undeploy(String fileName)
Remove a given file from the configuration |
Methods inherited from class org.apache.axis2.deployment.AbstractDeployer |
---|
cleanup |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ConfigurationContext configCtx
protected AxisConfiguration axisConfig
Constructor Detail |
---|
public JAXWSDeployer()
Method Detail |
---|
public void init(ConfigurationContext configCtx)
Deployer
configCtx
- our ConfigurationContextprotected void deployServicesInWARClassPath()
protected ArrayList<String> getClassesInWebInfDirectory(File file)
public void deploy(DeploymentFileData deploymentFileData)
Deployer
deploy
in interface Deployer
deploy
in class AbstractDeployer
deploymentFileData
- the DeploymentFileData object to deployprotected AxisServiceGroup deployClasses(String groupName, URL location, ClassLoader classLoader, List<String> classList) throws ClassNotFoundException, InstantiationException, IllegalAccessException, AxisFault
ClassNotFoundException
InstantiationException
IllegalAccessException
AxisFault
protected void storeFaultyService(DeploymentFileData deploymentFileData, Throwable t)
protected AxisService createAxisService(ClassLoader classLoader, String className, URL serviceLocation) throws ClassNotFoundException, InstantiationException, IllegalAccessException, AxisFault
ClassNotFoundException
InstantiationException
IllegalAccessException
AxisFault
public void setDirectory(String directory)
Deployer
directory
- directory namepublic void setExtension(String extension)
Deployer
extension
- the file extension associated with this Deployerpublic void undeploy(String fileName)
Deployer
undeploy
in interface Deployer
undeploy
in class AbstractDeployer
fileName
- name of item to removepublic static boolean isJar(File f)
f
- - file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |