This content has been marked as final.
Show 2 replies
-
1. Re: introspection of injected bean
nickarls Sep 3, 2010 7:00 AM (in response to nimo22)The scope of Users is what it's defined as - it's not going to change in runtime. But sure, you could use the BeanManager to get a Bean and check the scope type. Just not sure what you would need that info for.
-
2. Re: introspection of injected bean
nimo22 Sep 3, 2010 7:42 AM (in response to nimo22)Okay, got it! Thanks.
I have thought,
we are able to inject a new instance of a bean and overwrite the scope of that instance
http://seamframework.org/Community/ScopeDefinedWithinABean, but this is not practicable.