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 AxisConfiguration
axisConfig
protected ConfigurationContext
configCtx
-
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 void
deploy(DeploymentFileData deploymentFileData)
Process a file and add it to the configurationprotected void
deployServicesInWARClassPath()
protected ArrayList<String>
getClassesInWebInfDirectory(File file)
void
init(ConfigurationContext configCtx)
Initialize the Deployerstatic boolean
isJar(File f)
Check if this inputstream is a jar/zipvoid
setDirectory(String directory)
Set the directoryvoid
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
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:Deployer
Initialize the Deployer- Parameters:
configCtx
- our ConfigurationContext
-
deployServicesInWARClassPath
protected void deployServicesInWARClassPath()
-
deploy
public void deploy(DeploymentFileData deploymentFileData)
Description copied from interface:Deployer
Process a file and add it to the configuration- Specified by:
deploy
in interfaceDeployer
- Overrides:
deploy
in 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:Deployer
Set the directory- Parameters:
directory
- directory name
-
setExtension
public void setExtension(String extension)
Description copied from interface:Deployer
Set 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:Deployer
Remove a given file from the configuration- Specified by:
undeploy
in interfaceDeployer
- Overrides:
undeploy
in 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
-
-