org.jboss.webservice
Class EngineConfigurationFinder

java.lang.Object
  extended byorg.jboss.webservice.EngineConfigurationFinder

public final class EngineConfigurationFinder
extends java.lang.Object

Discover the Axis EngineConfiguration.

Since:
30-April-2004

Field Summary
static java.lang.String DEFAULT_CLIENT_CONFIG
           
static java.lang.String DEFAULT_SERVER_CONFIG
           
 
Constructor Summary
EngineConfigurationFinder()
           
 
Method Summary
static EngineConfiguration (src) getClientEngineConfiguration()
          Get the AxisClient EngineConfiguration.
static EngineConfiguration (src) getServerEngineConfiguration()
          Get the AxisClient EngineConfiguration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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)
Constructor Detail

EngineConfigurationFinder

public EngineConfigurationFinder()
Method Detail

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