In short. The context was introduced to keep the magnolia code
servlet api free (no request, session, ..). This allows to execute
the same code in workflows, services, ...
the context is set using a thread locale, so you don't need to pass
this context to everywhere.
Philipp
On 01.03.2007, at 16:35, Oliver Lietz wrote:
Hello all,
what is the purpose of MgnlContext and friends? Is it just a
wrapper to
HierarchyManager with some additional config parameters?
Parameters for commands (because Context extends o.a.c.chain.Context)?
Is the main reason for contexts the ThreadLocal in MgnlContext?
I wonder if I ignored something important when plugging Spring into
Magnolia
to assemble my HierarchyManager for my service to expose it's
methods as
WebService via XFire and AMF via Flex Remoting for Flash clients. I
don't use
any Context for that. Please enlighten me.
thanks,
O.
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/developer.html
----------------------------------------------------------------