Package org.apache.axis2.jaxws.framework
Class JAXWSDeployerSupport
java.lang.Object
org.apache.axis2.jaxws.framework.JAXWSDeployerSupport
The Class JAXWSDeployerSupport act as a helper class for both JAXWSDeployer and JAXWSServiceBuilderExtension.
- Since:
- 1.7.0
-
Constructor Summary
ConstructorsConstructorDescriptionJAXWSDeployerSupport(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
Modifier and TypeMethodDescriptionprotected 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.deployClasses(URL location, ClassLoader classLoader, List<String> classList) Deploy classes.org.apache.axis2.context.ConfigurationContextGets the configuration context.Gets the directory.getListOfClasses(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) Gets the list of classes.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 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 contextdirectory- 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
Gets the directory.- Returns:
- the directory
-
setDirectory
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
-
getServiceClassNameFromMetaData
Gets the service class name from meta data.- Parameters:
serviceMetaData- the service meta data- Returns:
- the service class name from meta data
-