org.apache.axis2.context
Class ConfigurationContextFactory

java.lang.Object
  extended byorg.apache.axis2.context.ConfigurationContextFactory

public class ConfigurationContextFactory
extends java.lang.Object


Constructor Summary
ConfigurationContextFactory()
           
 
Method Summary
 ConfigurationContext buildClientConfigurationContext(java.lang.String axis2home)
          Builds the configuration for the client.
 ConfigurationContext buildConfigurationContext(java.lang.String repositoryName)
          Builds the configuration for the Server.
 void initTransports(ConfigurationContext configContext)
          Initializes TransportSenders and TransportListeners with appropriate configuration information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationContextFactory

public ConfigurationContextFactory()
Method Detail

buildConfigurationContext

public ConfigurationContext buildConfigurationContext(java.lang.String repositoryName)
                                               throws DeploymentException
Builds the configuration for the Server.

Parameters:
repositoryName -
Returns:
Returns the built ConfigurationContext.
Throws:
DeploymentException

buildClientConfigurationContext

public ConfigurationContext buildClientConfigurationContext(java.lang.String axis2home)
                                                     throws DeploymentException
Builds the configuration for the client.

Parameters:
axis2home - the value can be null and resolves to the default axis2.xml file
Returns:
Returns ConfigurationContext.
Throws:
DeploymentException

initTransports

public void initTransports(ConfigurationContext configContext)
                    throws AxisFault
Initializes TransportSenders and TransportListeners with appropriate configuration information

Parameters:
configContext -
Throws:
AxisFault