当前页面:
在线文档首页 >
JBoss 4.0.1 sp1 webservice API Documentation 英文版文档
EngineConfigurationFinder (JBossWS API) - JBoss 4.0.1 sp1 webservice API Documentation 英文版文档
org.jboss.webservice
Class EngineConfigurationFinder
java.lang.Object
org.jboss.webservice.EngineConfigurationFinder
- public final class EngineConfigurationFinder
- extends Object
Discover the Axis EngineConfiguration.
- Since:
- 30-April-2004
- Author:
- Thomas.Diesler@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SERVER_CONFIG
public static final String DEFAULT_SERVER_CONFIG
- See Also:
- Constant Field Values
DEFAULT_CLIENT_CONFIG
public static final String DEFAULT_CLIENT_CONFIG
- See Also:
- Constant Field Values
EngineConfigurationFinder
public EngineConfigurationFinder()
getClientEngineConfiguration
public static org.apache.axis.EngineConfiguration 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 org.apache.axis.EngineConfiguration 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
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.