public class ConfigurationContextFactory extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log |
Constructor and Description |
---|
ConfigurationContextFactory() |
Modifier and Type | Method and Description |
---|---|
static ConfigurationContext |
createBasicConfigurationContext(String resourceName)
Creates configuration context using resource file found in the classpath.
|
static ConfigurationContext |
createConfigurationContext(AxisConfigurator axisConfigurator)
Creates a AxisConfiguration depending on the user requirement.
|
static ConfigurationContext |
createConfigurationContextFromFileSystem(String path) |
static ConfigurationContext |
createConfigurationContextFromFileSystem(String path,
String axis2xml)
To get a ConfigurationContext for given data , and underline implementation
is Axis2 default impl which is file system based deployment model to create
an AxisConfiguration.
|
static ConfigurationContext |
createConfigurationContextFromURIs(URL axis2xml,
URL repositoy) |
static ConfigurationContext |
createDefaultConfigurationContext()
Gets the default configuration context by using Axis2.xml in the classpath
|
static ConfigurationContext |
createEmptyConfigurationContext()
creates an empty configuration context.
|
public static ConfigurationContext createConfigurationContext(AxisConfigurator axisConfigurator) throws AxisFault
axisConfigurator
- : AxisConfiguratorAxisFault
- : If somthing goes wrongpublic static ConfigurationContext createConfigurationContextFromFileSystem(String path, String axis2xml) throws AxisFault
path
- : location of the repositoryaxis2xml
- : location of the axis2.xml (configuration) , you can not give
axis2xml relative to repository.AxisFault
- in case of problemspublic static ConfigurationContext createConfigurationContextFromFileSystem(String path) throws AxisFault
AxisFault
public static ConfigurationContext createConfigurationContextFromURIs(URL axis2xml, URL repositoy) throws AxisFault
AxisFault
public static ConfigurationContext createEmptyConfigurationContext() throws AxisFault
AxisFault
public static ConfigurationContext createDefaultConfigurationContext() throws Exception
Exception
public static ConfigurationContext createBasicConfigurationContext(String resourceName) throws Exception
Exception
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.