Class DialogSessionXMLApplicationContextFactory
java.lang.Object
org.eclnt.ccee.spring.v2.context.util.DialogSessionApplicationContextFactoryBase
org.eclnt.ccee.spring.v2.context.xmlbased.DialogSessionXMLApplicationContextFactory
public class DialogSessionXMLApplicationContextFactory
extends DialogSessionApplicationContextFactoryBase
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 TypeMethodDescriptionorg.springframework.context.support.AbstractApplicationContext
Default method for creating the object within the scope of a request/response processing.org.springframework.context.support.AbstractApplicationContext
findCreateInstance
(org.eclnt.jsfserver.util.ISessionAbstraction dialogSession) If NOT being inside a request/response processing then the dialog session needs to be explicitly passed.Methods inherited from class org.eclnt.ccee.spring.v2.context.util.DialogSessionApplicationContextFactoryBase
checkIfAbstractApplicationContextIsRegistered, readApplicationContextFromDialogSession, registerContextInDialogSession
-
Field Details
-
SPRINGNAME_INAPPLICATIONCONTEXT
- See Also:
-
-
Constructor Details
-
DialogSessionXMLApplicationContextFactory
public DialogSessionXMLApplicationContextFactory()
-
-
Method Details
-
findCreateInstance
public org.springframework.context.support.AbstractApplicationContext findCreateInstance()Default method for creating the object within the scope of a request/response processing. Internally callsfindCreateInstance(ISessionAbstraction)
.- Returns:
-
findCreateInstance
public org.springframework.context.support.AbstractApplicationContext findCreateInstance(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:
-