Package org.apache.axis2.jaxws.framework
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 Summary
Constructors Constructor Description JAXWSDeployerSupport()JAXWSDeployerSupport(org.apache.axis2.context.ConfigurationContext configurationContext)Instantiates a new jAXWS deployer support.JAXWSDeployerSupport(org.apache.axis2.context.ConfigurationContext configurationContext, String directory)Instantiates a new jAXWS deployer support.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.axis2.description.AxisServicecreateAxisService(ClassLoader classLoader, String className, URL serviceLocation)Creates the axis service.protected org.apache.axis2.description.AxisServiceGroupdeployClasses(String groupName, URL location, ClassLoader classLoader, List<String> classList)Deploy classes.protected HashMap<String,org.apache.axis2.description.AxisService>deployClasses(URL location, ClassLoader classLoader, List<String> classList)Deploy classes.org.apache.axis2.context.ConfigurationContextgetConfigurationContext()Gets the configuration context.StringgetDirectory()Gets the directory.List<String>getListOfClasses(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData)Gets the list of classes.List<String>getServiceClassNameFromMetaData(org.apache.axiom.om.OMElement serviceMetaData)Gets the service class name from meta data.voidsetConfigurationContext(org.apache.axis2.context.ConfigurationContext configurationContext)Sets the configuration context.voidsetDirectory(String directory)Sets the directory.
-
-
-
Constructor Detail
-
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 contextdirectory- the directory
-
-
Method Detail
-
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 namelocation- the locationclassLoader- the class loaderclassList- the class list- Returns:
- the axis service group
- Throws:
ClassNotFoundException- the class not found exceptionInstantiationException- the instantiation exceptionIllegalAccessException- the illegal access exceptionorg.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 locationclassLoader- the class loaderclassList- the class list- Returns:
- the hash map
- Throws:
ClassNotFoundException- the class not found exceptionInstantiationException- the instantiation exceptionIllegalAccessException- the illegal access exceptionorg.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 loaderclassName- the class nameserviceLocation- the service location- Returns:
- the axis service
- Throws:
ClassNotFoundException- the class not found exceptionInstantiationException- the instantiation exceptionIllegalAccessException- the illegal access exceptionorg.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
-
-