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".
  • Field Details

  • 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 calls findCreateInstance(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: