Reputation: 7429
is it possible to change the default scope of CDI Beans (dependent scope) to something else (like ApplicationScope)? Thanks
Upvotes: 0
Views: 209
Reputation: 12865
There is no simple API call or configuration property to do that, but you can always write a portable extension to add or replace scope annotations by observing the ProcessAnnotatedType
event.
Upvotes: 4