Sometimes, you may want to limit the visibility of a service so that multiple clients each get their own instance of the bean.

Sometimes, you may want to limit the visibility of a service so that multiple clients each get their own instance of the bean.
A. time
B. scope
C. attr
D. none of the mentioned
 
Answer: b
Explanation: Spring Dynamic Modules provides a clever use of the scope attribute here, allowing you to limit beans exported as services to the client, or service importer.
 

Tìm kiếm

Back
Top