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.

Jarek

On Mon, Jun 30, 2008 at 5:22 PM, David Blevins <[EMAIL PROTECTED]> 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
>
>

Reply via email to