Hi default scope is @Dependent producer and produced value.
Does it affects? depends. basically the produced value will be produced using the contextual producer instance this means if you have some state the produced value depends on then it will change the produced value otherwise it will not change anything excepted it will create one producer instance by "produce" invocation. Romain Manni-Bucau @rmannibucau http://www.tomitribe.com http://rmannibucau.wordpress.com https://github.com/rmannibucau 2014-12-29 16:25 GMT+01:00 Lars-Fredrik Smedberg <[email protected]>: > Hi > > Might have touched this question before but in that case I cannot find the > answer. > > I'm wondering what the scope of a class containing non-static @Produces > methods are if not explicitly specified? @RequestScoped? > Does the scope of the class containing the @Produces method in any way > affect the scope of the bean being produced? > > Any references to the CDI spec would be great to > > Regards > Lars-Fredrik > > > > -- > Med vänlig hälsning / Best regards > > Lars-Fredrik Smedberg > > STATEMENT OF CONFIDENTIALITY: > The information contained in this electronic message and any > attachments to this message are intended for the exclusive use of the > address(es) and may contain confidential or privileged information. If > you are not the intended recipient, please notify Lars-Fredrik Smedberg > immediately at [email protected], and destroy all copies of this > message and any attachments.
