org.objectweb.jonas.ws.axis
Class JServletEngineConfigurationFactory

java.lang.Object
  extended by org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory
All Implemented Interfaces:
org.apache.axis.EngineConfigurationFactory

public class JServletEngineConfigurationFactory
extends java.lang.Object
implements org.apache.axis.EngineConfigurationFactory

This is the JOnAS implementation of EngineConfigurationFactory for Servlet. It override Axis default one (EngineConfigurationFactoryServlet).

Author:
Guillaume Sauthier, Xavier Delplanque

Field Summary
static java.lang.String AXIS_SERVER_CONFIG_PARAM
          server config parameter name in init-param
static java.lang.String SERVER_CONFIG_WSDD
          server-config.wsdd base
 
Fields inherited from interface org.apache.axis.EngineConfigurationFactory
SYSTEM_PROPERTY_NAME
 
Constructor Summary
protected JServletEngineConfigurationFactory(javax.servlet.ServletConfig conf)
          Create the default engine configuration and detect whether the user has overridden this with their own.
 
Method Summary
 org.apache.axis.EngineConfiguration getClientEngineConfig()
          Return null.
 org.apache.axis.EngineConfiguration getServerEngineConfig()
          Get a server engine configuration.
static org.apache.axis.EngineConfigurationFactory newFactory(java.lang.Object param)
          Creates and returns a new JServletEngineConfigurationFactory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

AXIS_SERVER_CONFIG_PARAM

public static final java.lang.String AXIS_SERVER_CONFIG_PARAM
server config parameter name in init-param

See Also:
Constant Field Values

SERVER_CONFIG_WSDD

public static final java.lang.String SERVER_CONFIG_WSDD
server-config.wsdd base

See Also:
Constant Field Values
Constructor Detail

JServletEngineConfigurationFactory

protected JServletEngineConfigurationFactory(javax.servlet.ServletConfig conf)
Create the default engine configuration and detect whether the user has overridden this with their own.

Parameters:
conf - a ServletConfig
Method Detail

newFactory

public static org.apache.axis.EngineConfigurationFactory newFactory(java.lang.Object param)
Creates and returns a new JServletEngineConfigurationFactory. 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

Parameters:
param - The object used to retrieved the right Factory instance
Returns:
null if param is not a ServletContext, or return the JOnAS EngineConfigurationFactory used for a service-endpoint.

getServerEngineConfig

public org.apache.axis.EngineConfiguration getServerEngineConfig()
Get a server engine configuration. Try to load it from a File or as a ServletContext Resource. Delegate to EngineConfigurationFactoryServlet for default behavior.

Specified by:
getServerEngineConfig in interface org.apache.axis.EngineConfigurationFactory
Returns:
a server side EngineConfiguration

getClientEngineConfig

public org.apache.axis.EngineConfiguration getClientEngineConfig()
Return null. (Not used for WebService server-side)

Specified by:
getClientEngineConfig in interface org.apache.axis.EngineConfigurationFactory
Returns:
null