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(ConfigurationContext configurationContext)
Instantiates a new jAXWS deployer support.JAXWSDeployerSupport(ConfigurationContext configurationContext, String directory)
Instantiates a new jAXWS deployer support.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected AxisService
createAxisService(ClassLoader classLoader, String className, URL serviceLocation)
Creates the axis service.protected AxisServiceGroup
deployClasses(String groupName, URL location, ClassLoader classLoader, List<String> classList)
Deploy classes.protected HashMap<String,AxisService>
deployClasses(URL location, ClassLoader classLoader, List<String> classList)
Deploy classes.ConfigurationContext
getConfigurationContext()
Gets the configuration context.String
getDirectory()
Gets the directory.List<String>
getListOfClasses(DeploymentFileData deploymentFileData)
Gets the list of classes.List<String>
getServiceClassNameFromMetaData(OMElement serviceMetaData)
Gets the service class name from meta data.void
setConfigurationContext(ConfigurationContext configurationContext)
Sets the configuration context.void
setDirectory(String directory)
Sets the directory.
-
-
-
Constructor Detail
-
JAXWSDeployerSupport
public JAXWSDeployerSupport()
-
JAXWSDeployerSupport
public JAXWSDeployerSupport(ConfigurationContext configurationContext)
Instantiates a new jAXWS deployer support.- Parameters:
configurationContext
- the configuration context
-
JAXWSDeployerSupport
public JAXWSDeployerSupport(ConfigurationContext configurationContext, String directory)
Instantiates a new jAXWS deployer support.- Parameters:
configurationContext
- the configuration contextdirectory
- the directory
-
-
Method Detail
-
getConfigurationContext
public ConfigurationContext getConfigurationContext()
Gets the configuration context.- Returns:
- the configuration context
-
setConfigurationContext
public void setConfigurationContext(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 AxisServiceGroup deployClasses(String groupName, URL location, ClassLoader classLoader, List<String> classList) throws ClassNotFoundException, InstantiationException, IllegalAccessException, 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 exceptionAxisFault
- the axis fault
-
deployClasses
protected HashMap<String,AxisService> deployClasses(URL location, ClassLoader classLoader, List<String> classList) throws ClassNotFoundException, InstantiationException, IllegalAccessException, 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 exceptionAxisFault
- the axis fault
-
createAxisService
protected AxisService createAxisService(ClassLoader classLoader, String className, URL serviceLocation) throws ClassNotFoundException, InstantiationException, IllegalAccessException, 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 exceptionAxisFault
- the axis fault
-
getListOfClasses
public List<String> getListOfClasses(DeploymentFileData deploymentFileData) throws DeploymentException
Gets the list of classes.- Parameters:
deploymentFileData
- the deployment file data- Returns:
- the list of classes
- Throws:
DeploymentException
- the deployment exception
-
-