Class JAXWSDeployerSupport

java.lang.Object
org.apache.axis2.jaxws.framework.JAXWSDeployerSupport

public class JAXWSDeployerSupport extends Object

The Class JAXWSDeployerSupport act as a helper class for both JAXWSDeployer and JAXWSServiceBuilderExtension.

Since:
1.7.0
  • Constructor Details

    • JAXWSDeployerSupport

      public JAXWSDeployerSupport()
    • JAXWSDeployerSupport

      public JAXWSDeployerSupport(org.apache.axis2.context.ConfigurationContext configurationContext)
      Instantiates a new jAXWS deployer support.
      Parameters:
      configurationContext - the configuration context
    • JAXWSDeployerSupport

      public JAXWSDeployerSupport(org.apache.axis2.context.ConfigurationContext configurationContext, String directory)
      Instantiates a new jAXWS deployer support.
      Parameters:
      configurationContext - the configuration context
      directory - the directory
  • Method Details

    • getConfigurationContext

      public org.apache.axis2.context.ConfigurationContext getConfigurationContext()
      Gets the configuration context.
      Returns:
      the configuration context
    • setConfigurationContext

      public void setConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)
      Sets the configuration context.
      Parameters:
      configurationContext - the new configuration context
    • getDirectory

      public String getDirectory()
      Gets the directory.
      Returns:
      the directory
    • setDirectory

      public void setDirectory(String directory)
      Sets the directory.
      Parameters:
      directory - the new directory
    • deployClasses

      protected org.apache.axis2.description.AxisServiceGroup deployClasses(String groupName, URL location, ClassLoader classLoader, List<String> classList) throws ClassNotFoundException, InstantiationException, IllegalAccessException, org.apache.axis2.AxisFault
      Deploy classes.
      Parameters:
      groupName - the group name
      location - the location
      classLoader - the class loader
      classList - the class list
      Returns:
      the axis service group
      Throws:
      ClassNotFoundException - the class not found exception
      InstantiationException - the instantiation exception
      IllegalAccessException - the illegal access exception
      org.apache.axis2.AxisFault - the axis fault
    • deployClasses

      protected HashMap<String,org.apache.axis2.description.AxisService> deployClasses(URL location, ClassLoader classLoader, List<String> classList) throws ClassNotFoundException, InstantiationException, IllegalAccessException, org.apache.axis2.AxisFault
      Deploy classes.
      Parameters:
      location - the location
      classLoader - the class loader
      classList - the class list
      Returns:
      the hash map
      Throws:
      ClassNotFoundException - the class not found exception
      InstantiationException - the instantiation exception
      IllegalAccessException - the illegal access exception
      org.apache.axis2.AxisFault - the axis fault
    • createAxisService

      protected org.apache.axis2.description.AxisService createAxisService(ClassLoader classLoader, String className, URL serviceLocation) throws ClassNotFoundException, InstantiationException, IllegalAccessException, org.apache.axis2.AxisFault
      Creates the axis service.
      Parameters:
      classLoader - the class loader
      className - the class name
      serviceLocation - the service location
      Returns:
      the axis service
      Throws:
      ClassNotFoundException - the class not found exception
      InstantiationException - the instantiation exception
      IllegalAccessException - the illegal access exception
      org.apache.axis2.AxisFault - the axis fault
    • getListOfClasses

      public List<String> getListOfClasses(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException
      Gets the list of classes.
      Parameters:
      deploymentFileData - the deployment file data
      Returns:
      the list of classes
      Throws:
      org.apache.axis2.deployment.DeploymentException - the deployment exception
    • getServiceClassNameFromMetaData

      public List<String> getServiceClassNameFromMetaData(org.apache.axiom.om.OMElement serviceMetaData)
      Gets the service class name from meta data.
      Parameters:
      serviceMetaData - the service meta data
      Returns:
      the service class name from meta data