org.jboss.axis.configuration
Class EngineConfigurationFactoryDefault

java.lang.Object
  extended byorg.jboss.axis.configuration.EngineConfigurationFactoryDefault
All Implemented Interfaces:
EngineConfigurationFactory (src)
Direct Known Subclasses:
EngineConfigurationFactoryServlet (src)

public class EngineConfigurationFactoryDefault
extends java.lang.Object
implements EngineConfigurationFactory (src)

This is a default implementation of EngineConfigurationFactory. It is user-overrideable by a system property without affecting the caller. If you decide to override it, use delegation if you want to inherit the behaviour of this class as using class extension will result in tight loops. That is, your class should implement EngineConfigurationFactory and keep an instance of this class in a member field and delegate methods to that instance when the default behaviour is required.


Field Summary
protected static java.lang.String CLIENT_CONFIG_FILE
           
static java.lang.String OPTION_CLIENT_CONFIG_FILE
           
static java.lang.String OPTION_SERVER_CONFIG_FILE
           
protected static java.lang.String SERVER_CONFIG_FILE
           
 
Fields inherited from interface org.jboss.axis.EngineConfigurationFactory (src)
SYSTEM_PROPERTY_NAME
 
Constructor Summary
protected EngineConfigurationFactoryDefault()
          Create the default engine configuration and detect whether the user has overridden this with their own.
 
Method Summary
 EngineConfiguration (src) getClientEngineConfig()
          Get a default client engine configuration.
 EngineConfiguration (src) getServerEngineConfig()
          Get a default server engine configuration.
static EngineConfigurationFactory (src) newFactory(java.lang.Object param)
          Creates and returns a new EngineConfigurationFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OPTION_CLIENT_CONFIG_FILE

public static final java.lang.String OPTION_CLIENT_CONFIG_FILE
See Also:
Constant Field Values (src)

OPTION_SERVER_CONFIG_FILE

public static final java.lang.String OPTION_SERVER_CONFIG_FILE
See Also:
Constant Field Values (src)

CLIENT_CONFIG_FILE

protected static final java.lang.String CLIENT_CONFIG_FILE
See Also:
Constant Field Values (src)

SERVER_CONFIG_FILE

protected static final java.lang.String SERVER_CONFIG_FILE
See Also:
Constant Field Values (src)
Constructor Detail

EngineConfigurationFactoryDefault

protected EngineConfigurationFactoryDefault()
Create the default engine configuration and detect whether the user has overridden this with their own.

Method Detail

newFactory

public static EngineConfigurationFactory (src)  newFactory(java.lang.Object param)
Creates and returns a new EngineConfigurationFactory. If a factory cannot be created, return 'null'.

The factory may return non-NULL only if: - it knows what to do with the param (param == null) - it can find it's configuration information

See Also:
EngineConfigurationFactoryFinder (src)

getClientEngineConfig

public EngineConfiguration (src)  getClientEngineConfig()
Get a default client engine configuration.

Specified by:
getClientEngineConfig in interface EngineConfigurationFactory (src)
Returns:
a client EngineConfiguration

getServerEngineConfig

public EngineConfiguration (src)  getServerEngineConfig()
Get a default server engine configuration.

Specified by:
getServerEngineConfig in interface EngineConfigurationFactory (src)
Returns:
a server EngineConfiguration