Troy Kinsella
2008-08-14 01:29:17 UTC
Hello,
I posted a message to this list about two weeks ago regarding the use of
a ScriptedContainerBuilder with a custom LifecycleStrategy. My problem
then was that after I'd set up a parent container with my custom
LifecycleStrategy, then created a child container from a BeanShell
script, the LifecycleStrategy was not propagating to the child
container. Paul's advice was to create the child container in the
BeanShell script like so:
pico = parent.makeChildContainer();
.. and that fixed the problem.
However, I'm now facing a similar problem with a ComponentMonitor. The
makeChildContainer() method does not pass the parent ComponentMonitor
into the child container constructor. Perhaps purposely?
So, my question is, how can I get a specific ComponentMonitor into the
child container? Apologies if I'm just missing the clear way to do so.
Thanks,
Troy
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I posted a message to this list about two weeks ago regarding the use of
a ScriptedContainerBuilder with a custom LifecycleStrategy. My problem
then was that after I'd set up a parent container with my custom
LifecycleStrategy, then created a child container from a BeanShell
script, the LifecycleStrategy was not propagating to the child
container. Paul's advice was to create the child container in the
BeanShell script like so:
pico = parent.makeChildContainer();
.. and that fixed the problem.
However, I'm now facing a similar problem with a ComponentMonitor. The
makeChildContainer() method does not pass the parent ComponentMonitor
into the child container constructor. Perhaps purposely?
So, my question is, how can I get a specific ComponentMonitor into the
child container? Apologies if I'm just missing the clear way to do so.
Thanks,
Troy
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email