User Tools

Site Tools


blueprint

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

blueprint [2014/04/09 14:14]
mihael created
blueprint [2014/04/09 14:16] (current)
mihael
Line 10: Line 10:
 </​bean>​ </​bean>​
 </​sxh>​ </​sxh>​
 +
 +===== Scope =====
 +The scope of the bean defines if a bean is created as a singleton or if the Blueprint container creates a new instance on every call.
 +
 +Available scopes are ''​singleton''​ and ''​prototype''​.
 +
 +<note important>​If the bean is defined inside a service element then the scope is ''​prototype''​ by default.</​note>​
  
 {{tag>​osgi}} {{tag>​osgi}}
blueprint.txt ยท Last modified: 2014/04/09 14:16 by mihael