org.apache.axis2.jaxws
Class ClientConfigurationFactory

java.lang.Object
  extended by org.apache.axis2.jaxws.ClientConfigurationFactory

public class ClientConfigurationFactory
extends java.lang.Object

This class serves as a factory for ConfigurationContexts suitable in the client environment.


Constructor Summary
ClientConfigurationFactory()
          Default constructor
ClientConfigurationFactory(AxisConfigurator configurator)
          Create a ConfigurationContext from the specified configurator
ClientConfigurationFactory(java.lang.String repoPath, java.lang.String axisConfigPath)
          Create a ConfigurationContext from the specified repository and axis2.xml
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientConfigurationFactory

public ClientConfigurationFactory(AxisConfigurator configurator)
Create a ConfigurationContext from the specified configurator

Parameters:
configurator -

ClientConfigurationFactory

public ClientConfigurationFactory(java.lang.String repoPath,
                                  java.lang.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,
                                       java.lang.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
java.lang.Exception


Copyright © 2007 Apache Web Services Project. All Rights Reserved.