One more thing. I was thinking of making ComponentFactory do all the proxying
of services. Essentially it would only return proxies. The advantage of this
is that all the proxying would be in one place and consistent. The
disadvantage is that we don't know which interfaces need to be proxied so we
will pretty much have to proxy all of them except for ones we recognize as
being non-proxyable. ie
* Lifecycle interfaces
* Lifestyle interfaces
* certain jdk interfaces (like java.io.Serializable)
It means there may be a little more exposed than strictly necessary but it is
still better than what we have now. Thoughts?
--
Cheers,
Peter Donald
-----------------------------------------------------------
Don't take life too seriously --
you'll never get out of it alive.
-----------------------------------------------------------
--
To unsubscribe, e-mail: <mailto:avalon-dev-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-dev-help@;jakarta.apache.org>