org.apache.axis.configuration
Class ServletEngineConfigurationFactory

java.lang.Object
  |
  +--org.apache.axis.configuration.DefaultEngineConfigurationFactory
        |
        +--org.apache.axis.configuration.ServletEngineConfigurationFactory
All Implemented Interfaces:
EngineConfigurationFactory

public class ServletEngineConfigurationFactory
extends DefaultEngineConfigurationFactory

This is a default implementation of ServletEngineConfigurationFactory. 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:
Davanum Srinivas (dims@apache.org)

Field Summary
protected static org.apache.commons.logging.Log log
           
 
Fields inherited from class org.apache.axis.configuration.DefaultEngineConfigurationFactory
CLIENT_CONFIG_FILE, SERVER_CONFIG_FILE, userFactory
 
Fields inherited from interface org.apache.axis.EngineConfigurationFactory
SYSTEM_PROPERTY_NAME
 
Constructor Summary
ServletEngineConfigurationFactory(javax.servlet.ServletContext ctx)
          Create the default engine configuration and detect whether the user has overridden this with their own.
 
Method Summary
 EngineConfiguration getServerEngineConfig()
          Get a default server engine configuration.
 
Methods inherited from class org.apache.axis.configuration.DefaultEngineConfigurationFactory
getClientEngineConfig
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.apache.commons.logging.Log log
Constructor Detail

ServletEngineConfigurationFactory

public ServletEngineConfigurationFactory(javax.servlet.ServletContext ctx)
Create the default engine configuration and detect whether the user has overridden this with their own.
Method Detail

getServerEngineConfig

public EngineConfiguration getServerEngineConfig()
Get a default server engine configuration.
Overrides:
getServerEngineConfig in class DefaultEngineConfigurationFactory
Returns:
a server EngineConfiguration


Copyright © 2002 Apache XML Project. All Rights Reserved.