Skip to main content

Scopes

Hasor supports scopes when managing beans. A typical scope scenario is a singleton, where only one instance is kept in the entire application.

Another scope example is a web application keeping a session after a user logs in.