lundi 5 octobre 2015

How spring bind beans scope with HTTP scope like request,session etc

We have spring beans like:

@Component
@Scope(value="session")
public class MyBean {
    // ...
}

How internally spring bind the HTTP scopes like request, session with corresponding bean's scope. Is there any role of RequestContextListener for this?




Aucun commentaire:

Enregistrer un commentaire