Package org.eclnt.ccee.spring.context
Class DialogSessionApplicationContextFactory
java.lang.Object
org.eclnt.ccee.spring.context.DialogSessionApplicationContextFactory
CaptainCasa' server processing is always within a scope of a dialog session.
This might be a real http session (if using URL-jssesionid-rewriting) or
if might be some session-mechanism below the http session (if using COOKIE
based URL-session-tracking).
For each dialog session there is an own DialogSessionApplicationContext which is available during the request/response processing on server side.
The application context itself is picked from the web-application-context, where it is defined with name: "DialogSessionApplicationContext".
For each dialog session there is an own DialogSessionApplicationContext which is available during the request/response processing on server side.
The application context itself is picked from the web-application-context, where it is defined with name: "DialogSessionApplicationContext".
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.context.support.AbstractApplicationContext
instance()
Default method for creating the object within the scope of a request/response processing.static org.springframework.context.support.AbstractApplicationContext
instance
(org.eclnt.jsfserver.util.ISessionAbstraction dialogSession) If NOT being inside a request/response processing then the dialog session needs to be explicitly passed.
-
Field Details
-
SPRINGNAME_INWEBAPPLICATIONCONTEXT
- See Also:
-
-
Constructor Details
-
DialogSessionApplicationContextFactory
public DialogSessionApplicationContextFactory()
-
-
Method Details
-
instance
public static org.springframework.context.support.AbstractApplicationContext instance()Default method for creating the object within the scope of a request/response processing. Internally callsinstance(ISessionAbstraction)
.- Returns:
-
instance
public static org.springframework.context.support.AbstractApplicationContext instance(org.eclnt.jsfserver.util.ISessionAbstraction dialogSession) If NOT being inside a request/response processing then the dialog session needs to be explicitly passed. (e.g. if running in some thread that runs in parallel to request/response processing).- Returns:
-