Peter Donald wrote:
>
> At 11:01 3/4/01 -0400, Berin Loritsch wrote:
> >Can I ask you what you were trying to accomplish with trying to use the
> >ComponentManager for something other than a Component? It could be a case of
> >using the wrong tool for the task. I believe that Cocoon 2 has the purest
> >implementation of the Component Management Framework.
>
> Essentially I am wanting to pass native JDK objects between components. In
> phoenix this included a implementation of java.security.Policy and
> java.lang.ClassLoader. In other projects I worked on it included
> ThreadGroups, URLConnectionFactory and something else I can't quite
> remember atm ;)
I am not presenting myself as an expert, but it seems that trying to use
the Component Management framework is not the proper mechanism. I think
that the Contextualizable framework would serve you better. In Cocoon,
we use that to pass key File objects and important strings.
Those things you are trying to pass are too fine grained to be Components.
If you have a PolicyManager Component, then you sould use that in the
ComponentManager interface, but again the Centextualizable framework is
the best bet, because there is low overhead in development, and these
things obviously have standard names that you have assigned them.
Just my $0.02 US.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]