newFactory
public static EngineConfigurationFactory newFactory(java.lang.Object obj)
Create the default engine configuration and detect whether the user
has overridden this with their own.
The discovery mechanism will use the following logic:
- discover all available EngineConfigurationFactories
- find all META-INF/services/org.apache.axis.EngineConfigurationFactory
files available through class loaders.
- read files (see Discovery) to obtain implementation(s) of that
interface
- For each impl, call 'newFactory(Object param)'
- Each impl should examine the 'param' and return a new factory ONLY
- if it knows what to do with it
(i.e. it knows what to do with the 'real' type)
- it can find it's configuration information
- Return first non-null factory found.
- Try EngineConfigurationFactoryServlet.newFactory(obj)
- Try EngineConfigurationFactoryDefault.newFactory(obj)
- If zero found (all return null), throw exception
***
This needs more work: System.properties, etc.
Discovery will have more tools to help with that
(in the manner of use below) in the near future.
***