@Dependent

Sent from my iPhone

On Mar 4, 2010, at 3:59 PM, "Lincoln Baxter, III" <lincolnbaxter@gmail.com> wrote:

Does CDI come out of the box with an equivalent of Spring's "Prototype" scope, which means that wherever injection is requested, a new instance of the class is provided?

Is that what
@Inject @New MyType instance;
would be used for?

Could this be simplified by removing the need for @Inject, and requiring only @New?

Thanks,

--
Lincoln Baxter, III
http://ocpsoft.com
http://scrumshark.com
"Keep it Simple"
_______________________________________________
weld-dev mailing list
weld-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev