Igor,

You wrote:

>Will EngineConfigurationFactory be a parameter to AxisEngine constructor?

I had to think hard about this, but my intuition is that it would be better
to pass an EngineConfiguration. Perhaps we should revisit this after I've
made my changes as I think the trade-offs will be more visible. My current
reasons for not passing a factory are:

1. I want to allow a variety of constructor signatures for concrete
EngineConfigurations without forcing multiple factory instances (which
would be necessary if the factory was passed as a parameter to the engine).

2. The lifecycles of engines and EngineConfigurations are more closely
related than those of engines and EngineConfigurationFactories, so it would
appear to make the engine more reusable to pass an EngineConfiguration
instance than a factory.

Glyn


Reply via email to