cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

What is the default scope of bean in Hybris and how to change this.

Former Member
0 Kudos
2,703

What is the default scope of bean in Hybris and how to change this.

Accepted Solutions (0)

Answers (1)

Answers (1)

arvind-kumar_avinash
Active Contributor
0 Kudos

Hi

The default scope is singleton. In order to change it, you have to mention the new scope like scope="..." while configuring the bean.

Please note that if the bean belongs to the web context, its visibility is restricted to the extension where it's defined. Whereas, for the other contexts it is independent of the extension.

Some useful documents are: