org.jboss.webservice
Class EngineConfigurationFinder
java.lang.Object
org.jboss.webservice.EngineConfigurationFinder
- public final class EngineConfigurationFinder
- extends java.lang.Object
Discover the Axis EngineConfiguration.
- Since:
- 30-April-2004
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SERVER_CONFIG
public static final java.lang.String DEFAULT_SERVER_CONFIG
- See Also:
- Constant Field Values (src)
DEFAULT_CLIENT_CONFIG
public static final java.lang.String DEFAULT_CLIENT_CONFIG
- See Also:
- Constant Field Values (src)
EngineConfigurationFinder
public EngineConfigurationFinder()
getClientEngineConfiguration
public static EngineConfiguration (src) getClientEngineConfiguration()
- Get the AxisClient EngineConfiguration.
1. Read the config location from the system property
Constants.CLIENT_CONFIG
2. If not set, fall back to 'META-INF/axis-client-config.xml'
3. Try to access the config location as URL
4. Try to access the config location as File
5. Try to access the config location as Resource
- Returns:
- The client EngineConfiguration, or null
getServerEngineConfiguration
public static EngineConfiguration (src) getServerEngineConfiguration()
- Get the AxisClient EngineConfiguration.
1. Read the config location from the system property
org.jboss.webservice.Constants.SERVER_CONFIG
2. If not set, fall back to 'META-INF/axis-server-config.xml'
3. Try to access the config location as URL
4. Try to access the config location as File
5. Try to access the config location as Resource
- Returns:
- The client EngineConfiguration, or null