In my application my handlers are already instantiated and maintain internal state. As such I don't want the processor factory to instantiate the handlers every time they are called.

I now have everything working as I want using StatelessProcessorFactory.

What I am confused about and request clarification on (in case I am misunderstanding and something may break in the future) is use of word 'stateless' in this context. My thinking is that if an object is instantiated every time and then executed (as with RequestSpecificProcessorFactory) then it can have no state, whereas an initialized singleton would by default have state - so why is this classified as stateless.

Hope my question is clear.

CB

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to