org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory Class Reference

List of all members.

Public Member Functions

EngineConfiguration getServerEngineConfig ()
EngineConfiguration getClientEngineConfig ()

Static Public Member Functions

EngineConfigurationFactory newFactory (Object param)

Static Public Attributes

final String AXIS_SERVER_CONFIG_PARAM = "axis.serverConfigFile"
final String SERVER_CONFIG_WSDD = "org/objectweb/jonas/ws/axis/server-config.wsdd"

Protected Member Functions

 JServletEngineConfigurationFactory (ServletConfig conf)

Detailed Description

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

Author:
Guillaume Sauthier

Xavier Delplanque

Definition at line 59 of file JServletEngineConfigurationFactory.java.


Constructor & Destructor Documentation

org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.JServletEngineConfigurationFactory ServletConfig  conf  )  [protected]
 

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

Parameters:
conf a ServletConfig

Definition at line 90 of file JServletEngineConfigurationFactory.java.

Referenced by org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.newFactory().


Member Function Documentation

EngineConfiguration org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.getClientEngineConfig  ) 
 

Return null. (Not used for WebService server-side)

Returns:
null

Definition at line 239 of file JServletEngineConfigurationFactory.java.

EngineConfiguration org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.getServerEngineConfig  ) 
 

Get a server engine configuration. Try to load it from a File or as a ServletContext Resource. Delegate to EngineConfigurationFactoryServlet for default behavior.

Returns:
a server side EngineConfiguration

If path/file doesn't exist, it may still be accessible as a resource-stream (i.e. it may be packaged in a JAR or WAR file).

Couldn't get data OR file does exist. If we have a path, then attempt to either open the existing file, or create an (empty) file.

Definition at line 129 of file JServletEngineConfigurationFactory.java.

References org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.AXIS_SERVER_CONFIG_PARAM, and org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.SERVER_CONFIG_WSDD.

EngineConfigurationFactory org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.newFactory Object  param  )  [static]
 

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.

Definition at line 109 of file JServletEngineConfigurationFactory.java.

References org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.JServletEngineConfigurationFactory().

Here is the call graph for this function:


Member Data Documentation

final String org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.AXIS_SERVER_CONFIG_PARAM = "axis.serverConfigFile" [static]
 

server config parameter name in init-param

Definition at line 63 of file JServletEngineConfigurationFactory.java.

Referenced by org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.getServerEngineConfig().

final String org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.SERVER_CONFIG_WSDD = "org/objectweb/jonas/ws/axis/server-config.wsdd" [static]
 

server-config.wsdd base

Definition at line 66 of file JServletEngineConfigurationFactory.java.

Referenced by org.objectweb.jonas.ws.axis.JServletEngineConfigurationFactory.getServerEngineConfig().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:09:53 2005 for JOnAS by  doxygen 1.3.9.1