Package org.apache.axis2.jaxws
Class ClientConfigurationFactory
- java.lang.Object
-
- org.apache.axis2.jaxws.ClientConfigurationFactory
-
public class ClientConfigurationFactory extends Object
This class serves as a factory for ConfigurationContexts suitable in the client environment.
-
-
Constructor Summary
Constructors Constructor Description ClientConfigurationFactory()
Default constructorClientConfigurationFactory(String repoPath, String axisConfigPath)
Create a ConfigurationContext from the specified repository and axis2.xmlClientConfigurationFactory(AxisConfigurator configurator)
Create a ConfigurationContext from the specified configurator
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completeAxis2Configuration(AxisService service)
Perform any final client-specific configuration on a newly created AxisService.ConfigurationContext
getClientConfigurationContext()
Loads up a ConfigurationContext object using the configuration builder.static ClientConfigurationFactory
newInstance()
Returns a ClientConfigurationFactory object.
-
-
-
Constructor Detail
-
ClientConfigurationFactory
public ClientConfigurationFactory(AxisConfigurator configurator)
Create a ConfigurationContext from the specified configurator- Parameters:
configurator
-
-
ClientConfigurationFactory
public ClientConfigurationFactory(String repoPath, String axisConfigPath)
Create a ConfigurationContext from the specified repository and axis2.xml- Parameters:
configurator
-
-
ClientConfigurationFactory
public ClientConfigurationFactory()
Default constructor
-
-
Method Detail
-
newInstance
public static ClientConfigurationFactory newInstance()
Returns a ClientConfigurationFactory object.
-
getClientConfigurationContext
public ConfigurationContext getClientConfigurationContext()
Loads up a ConfigurationContext object using the configuration builder.- Returns:
- a ConfigurationContext object that is suitable for the client environment
-
completeAxis2Configuration
public void completeAxis2Configuration(AxisService service) throws DeploymentException, Exception
Perform any final client-specific configuration on a newly created AxisService.- Parameters:
service
- A newly created AxisService on which to perform any final client-related configuration.- Throws:
DeploymentException
Exception
-
-