On Tuesday 16 December 2003 14:13, Stephen McConnell wrote:
> Niclas Hedhman wrote:
> >On Tuesday 16 December 2003 12:35, Stephen McConnell wrote:
> >>Some additional content - its not interceptor stuff, but its a lot more
> >>useful ..
> >>http://avalon.apache.org/merlin/api/org/apache/avalon/activation/lifecycl
> >>e/ LifecycleCreateExtension.html
> >>http://avalon.apache.org/merlin/api/org/apache/avalon/activation/lifecycl
> >>e/ LifecycleDestroyExtension.html Steve.
> >
> >Better ;o)
> >Q is then; Should we or should we not support "interception" and allow
> >Extensions to wrap components??
>
> A: yes - we should support "interception"
>
> As to "extensions wrapping components" - not sure what that means.
Instead of
void create(DeploymentModel model,
StageDescriptor stage,
Object object)
throws Exception;
it is
Object create(DeploymentModel model,
StageDescriptor stage,
Object object)
throws Exception;
where the returned Object is the "wrapped object", i.e. it still implements
the Service interface, but may be a different object than given to the
extension.
Clearer?
Niclas
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]