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)
          Built the Configuration for the Client
 ConfigurationContext buildConfigurationContext(java.lang.String repositoryName)
          Build the configuration for the Server
static void createChains(ServiceDescription service, AxisConfiguration configurationContextVal, java.util.ArrayList modules)
          Here the Phases are resolved and the Order of the Handlers are established
 void initTransports(ConfigurationContext configContext)
          This method initilize the transports, passing the information taken from the deployment to the real instance, for and example here the TransportSender get a referance to the TransportOutDescription.
 
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
Build the configuration for the Server

Parameters:
repositoryName -
Returns:
Throws:
DeploymentException

buildClientConfigurationContext

public ConfigurationContext buildClientConfigurationContext(java.lang.String axis2home)
                                                     throws DeploymentException
Built the Configuration for the Client

Parameters:
axis2home - the value can be null and it is resolved to the default axis2.xml file
Returns:
Throws:
DeploymentException

createChains

public static void createChains(ServiceDescription service,
                                AxisConfiguration configurationContextVal,
                                java.util.ArrayList modules)
                         throws PhaseException
Here the Phases are resolved and the Order of the Handlers are established

Parameters:
service -
configurationContextVal -
modules -
Throws:
PhaseException

initTransports

public void initTransports(ConfigurationContext configContext)
                    throws AxisFault
This method initilize the transports, passing the information taken from the deployment to the real instance, for and example here the TransportSender get a referance to the TransportOutDescription.

Parameters:
configContext -
Throws:
AxisFault