Package org.apache.axis.configuration
Class EngineConfigurationFactoryDefault
java.lang.Object
org.apache.axis.configuration.EngineConfigurationFactoryDefault
- All Implemented Interfaces:
EngineConfigurationFactory
- Direct Known Subclasses:
EngineConfigurationFactoryServlet
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.
- Author:
- Richard A. Sitze, Glyn Normington (glyn@apache.org)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected Stringprotected static org.apache.commons.logging.Logstatic final Stringstatic final Stringprotected static final Stringprotected StringFields inherited from interface org.apache.axis.EngineConfigurationFactory
SYSTEM_PROPERTY_NAME -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedCreate the default engine configuration and detect whether the user has overridden this with their own. -
Method Summary
Modifier and TypeMethodDescriptionGet a default client engine configuration.Get a default server engine configuration.static EngineConfigurationFactorynewFactory(Object param) Creates and returns a new EngineConfigurationFactory.
-
Field Details
-
log
protected static org.apache.commons.logging.Log log -
OPTION_CLIENT_CONFIG_FILE
- See Also:
-
OPTION_SERVER_CONFIG_FILE
- See Also:
-
CLIENT_CONFIG_FILE
- See Also:
-
SERVER_CONFIG_FILE
- See Also:
-
clientConfigFile
-
serverConfigFile
-
-
Constructor Details
-
EngineConfigurationFactoryDefault
protected EngineConfigurationFactoryDefault()Create the default engine configuration and detect whether the user has overridden this with their own.
-
-
Method Details
-
newFactory
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:
-
getClientEngineConfig
Get a default client engine configuration.- Specified by:
getClientEngineConfigin interfaceEngineConfigurationFactory- Returns:
- a client EngineConfiguration
-
getServerEngineConfig
Get a default server engine configuration.- Specified by:
getServerEngineConfigin interfaceEngineConfigurationFactory- Returns:
- a server EngineConfiguration
-