| Tag name: <b>scope</b><br>Description : The scope of this bean: typically "singleton" (one shared instance,<br> |
| which will be returned by all calls to getBean() with the id),<br> |
| or "prototype" (independent instance resulting from each call to<br> |
| getBean(). Default is "singleton".<br> |
| <br> |
| Singletons are most commonly used, and are ideal for multi-threaded<br> |
| service objects. Further scopes, such as "request" or "session",<br> |
| might be supported by extended bean factories (for example, in a<br> |
| web environment).<br> |
| <br> |
| Note: This attribute will not be inherited by child bean definitions.<br> |
| Hence, it needs to be specified per concrete bean definition.<br> |
| <br> |
| Inner bean definitions inherit the singleton status of their containing<br> |
| bean definition, unless explicitly specified: The inner bean will be a<br> |
| singleton if the containing bean is a singleton, and a prototype if<br> |
| the containing bean has any other scope. |