geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jarek Gawor" <>
Subject Re: Constructor injection
Date Tue, 01 Jul 2008 14:25:03 GMT
You mean @java.beans.ConstructorProperties? Also, why not create
@org.apache.geronimo.xbean.ConstructorProperties or something like
that and use that for constructor injection instead of relying on the
debug info. It would also make the transition to
@java.beans.ConstructorProperties easier in the future.


On Mon, Jun 30, 2008 at 5:22 PM, David Blevins <> wrote:
> I added constructor injection for EJBs and Interceptors into OpenEJB.  We
> could probably do the same for servlets, filters and listeners if we use
> xbean-reflect to create all of those.
> The trick would be that the functionality wouldn't work unless they compiled
> the code with debug.  XBean uses the debug table to scrape out the
> constructor param names.  We could potentially add support of the
> @java.beans.ParameterNames annotation, but that's only available in Java 6.
> Add it? Don't add it?  Add it but put a big disclaimer on the doc for it?
> Thoughts?
> -David

View raw message