dev@jsr311.java.net

Re: JSR311: taking the POJO injection idea further

From: Bill Burke <bburke_at_redhat.com>
Date: Wed, 20 Feb 2008 23:07:01 -0500

Ryan McDonough wrote:
> Marc,
>
> I like your suggestion in keeping an implementation specific this. I
> like Bill's proposal a lot, but if the EG feels this is adding bloat to
> the API, I'm highly in favor of a means where an implementation could
> provide this functionality in standard way.
>

Well, to implement this JavaBean feature as a plugin/provider you'd need
a couple things:

1) All the @Param annotations would need to be usable on a method and
field. Right now these annotations are constrained to parameters only.

2) The provider developer would basically have to reimplement half the
spec themselves as they would basically have to have their own
implementation of each @Param annotation.


-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com