public class JAXWSDeployer extends AbstractDeployer
Modifier and Type | Field and Description |
---|---|
protected AxisConfiguration |
axisConfig |
protected ConfigurationContext |
configCtx |
deploymentFileDataMap
Constructor and Description |
---|
JAXWSDeployer() |
Modifier and Type | Method and Description |
---|---|
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
|
cleanup
protected ConfigurationContext configCtx
protected AxisConfiguration axisConfig
public void init(ConfigurationContext configCtx)
Deployer
configCtx
- our ConfigurationContextprotected void deployServicesInWARClassPath()
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
protected void storeFaultyService(DeploymentFileData deploymentFileData, Throwable t)
protected AxisService createAxisService(ClassLoader classLoader, String className, URL serviceLocation) throws 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
- - fileCopyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.