Package org.apache.axis2.jaxws.framework
Class JAXWSDeployer
- java.lang.Object
-
- org.apache.axis2.deployment.AbstractDeployer
-
- org.apache.axis2.jaxws.framework.JAXWSDeployer
-
- All Implemented Interfaces:
Deployer
public class JAXWSDeployer extends AbstractDeployer
-
-
Field Summary
Fields Modifier and Type Field Description protected AxisConfigurationaxisConfigprotected ConfigurationContextconfigCtx-
Fields inherited from class org.apache.axis2.deployment.AbstractDeployer
deploymentFileDataMap
-
-
Constructor Summary
Constructors Constructor Description JAXWSDeployer()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddeploy(DeploymentFileData deploymentFileData)Process a file and add it to the configurationprotected voiddeployServicesInWARClassPath()protected ArrayList<String>getClassesInWebInfDirectory(File file)voidinit(ConfigurationContext configCtx)Initialize the Deployerstatic booleanisJar(File f)Check if this inputstream is a jar/zipvoidsetDirectory(String directory)Set the directoryvoidsetExtension(String extension)Set the extension to look for TODO: Support multiple extensions?protected voidstoreFaultyService(DeploymentFileData deploymentFileData, Throwable t)voidundeploy(String fileName)Remove a given file from the configuration-
Methods inherited from class org.apache.axis2.deployment.AbstractDeployer
addServiceBuilderExtensions, cleanup, executeServiceBuilderExtensions, getServiceBuilderExtensions
-
-
-
-
Field Detail
-
configCtx
protected ConfigurationContext configCtx
-
axisConfig
protected AxisConfiguration axisConfig
-
-
Method Detail
-
init
public void init(ConfigurationContext configCtx)
Description copied from interface:DeployerInitialize the Deployer- Parameters:
configCtx- our ConfigurationContext
-
deployServicesInWARClassPath
protected void deployServicesInWARClassPath()
-
deploy
public void deploy(DeploymentFileData deploymentFileData)
Description copied from interface:DeployerProcess a file and add it to the configuration- Specified by:
deployin interfaceDeployer- Overrides:
deployin classAbstractDeployer- Parameters:
deploymentFileData- the DeploymentFileData object to deploy
-
storeFaultyService
protected void storeFaultyService(DeploymentFileData deploymentFileData, Throwable t)
-
setDirectory
public void setDirectory(String directory)
Description copied from interface:DeployerSet the directory- Parameters:
directory- directory name
-
setExtension
public void setExtension(String extension)
Description copied from interface:DeployerSet the extension to look for TODO: Support multiple extensions?- Parameters:
extension- the file extension associated with this Deployer
-
undeploy
public void undeploy(String fileName)
Description copied from interface:DeployerRemove a given file from the configuration- Specified by:
undeployin interfaceDeployer- Overrides:
undeployin classAbstractDeployer- Parameters:
fileName- name of item to remove
-
isJar
public static boolean isJar(File f)
Check if this inputstream is a jar/zip- Parameters:
f- - file- Returns:
- true if inputstream is a jar
-
-