on 2018 Oct 12 12:29 PM
What is the default scope of bean in Hybris and how to change this.
Request clarification before answering.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.