org.apache.axis2.jaxws.framework
Class JAXWSDeployer

java.lang.Object
  extended by org.apache.axis2.deployment.AbstractDeployer
      extended by org.apache.axis2.jaxws.framework.JAXWSDeployer
All Implemented Interfaces:
Deployer

public class JAXWSDeployer
extends AbstractDeployer


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(java.lang.ClassLoader classLoader, java.lang.String className, java.net.URL serviceLocation)
           
 void deploy(DeploymentFileData deploymentFileData)
           
protected  AxisServiceGroup deployClasses(java.lang.String groupName, java.net.URL location, java.lang.ClassLoader classLoader, java.util.List<java.lang.String> classList)
           
protected  void deployServicesInWARClassPath()
           
protected  java.util.ArrayList<java.lang.String> getClassesInWebInfDirectory(java.io.File file)
           
 void init(ConfigurationContext configCtx)
           
static boolean isJar(java.io.File f)
          Check if this inputstream is a jar/zip
 void setDirectory(java.lang.String directory)
           
 void setExtension(java.lang.String extension)
           
protected  void storeFaultyService(DeploymentFileData deploymentFileData, java.lang.Throwable t)
           
 void undeploy(java.lang.String fileName)
           
 
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

configCtx

protected ConfigurationContext configCtx

axisConfig

protected AxisConfiguration axisConfig
Constructor Detail

JAXWSDeployer

public JAXWSDeployer()
Method Detail

init

public void init(ConfigurationContext configCtx)

deployServicesInWARClassPath

protected void deployServicesInWARClassPath()

getClassesInWebInfDirectory

protected java.util.ArrayList<java.lang.String> getClassesInWebInfDirectory(java.io.File file)

deploy

public void deploy(DeploymentFileData deploymentFileData)
Specified by:
deploy in interface Deployer
Overrides:
deploy in class AbstractDeployer

deployClasses

protected AxisServiceGroup deployClasses(java.lang.String groupName,
                                         java.net.URL location,
                                         java.lang.ClassLoader classLoader,
                                         java.util.List<java.lang.String> classList)
                                  throws java.lang.ClassNotFoundException,
                                         java.lang.InstantiationException,
                                         java.lang.IllegalAccessException,
                                         AxisFault
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault

storeFaultyService

protected void storeFaultyService(DeploymentFileData deploymentFileData,
                                  java.lang.Throwable t)

createAxisService

protected AxisService createAxisService(java.lang.ClassLoader classLoader,
                                        java.lang.String className,
                                        java.net.URL serviceLocation)
                                 throws java.lang.ClassNotFoundException,
                                        java.lang.InstantiationException,
                                        java.lang.IllegalAccessException,
                                        AxisFault
Throws:
java.lang.ClassNotFoundException
java.lang.InstantiationException
java.lang.IllegalAccessException
AxisFault

setDirectory

public void setDirectory(java.lang.String directory)

setExtension

public void setExtension(java.lang.String extension)

undeploy

public void undeploy(java.lang.String fileName)
Specified by:
undeploy in interface Deployer
Overrides:
undeploy in class AbstractDeployer

isJar

public static boolean isJar(java.io.File f)
Check if this inputstream is a jar/zip

Parameters:
f - - file
Returns:
true if inputstream is a jar


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.