Class ClientConfigurationFactory


  • public class ClientConfigurationFactory
    extends Object
    This class serves as a factory for ConfigurationContexts suitable in the client environment.
    • 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

      • 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