com.ibm.commerce.foundation.server.services.businesscontext

Class ContextServiceFactory

  • java.lang.Object
    • com.ibm.commerce.foundation.server.services.businesscontext.ContextServiceFactory


  • public class ContextServiceFactory
    extends java.lang.Object
    The factory class that returns the proper instance of the Context Service that should be used by the application. This class is used when you want to override the default implementation of Business Context Service. To override the default implementation, the following custom configuration can be used and is evaluated in this given order: - define the implementation class in the property file:"com.ibm.commerce.foundation.server.services.businesscontext.ContextServiceFactory" - specify the JVM property "com.ibm.commerce.foundation.server.services.businesscontext" to point to the customized implementation class.
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
      • CONTEXT_SERVICE_SYSTEM_PROPERTY

        public static final java.lang.String CONTEXT_SERVICE_SYSTEM_PROPERTY
        The system property to represent which business context implementation to use.
        See Also:
        Constant Field Values
      • J2SE_SYSTEM_PROPERTY

        public static final java.lang.String J2SE_SYSTEM_PROPERTY
        The system property to indicate if Business Context Service is running in standalone, J2SE, mode.
        See Also:
        Constant Field Values
      • J2SE_SYSTEM_PROPERTY_TRUE_VALUE

        public static final java.lang.String J2SE_SYSTEM_PROPERTY_TRUE_VALUE
        The value of the "j2se" system property when it is running in a J2SE environment
        See Also:
        Constant Field Values
      • DEFAULT_CONTEXT_SERVICE_IMPLEMENTATION

        public static final java.lang.String DEFAULT_CONTEXT_SERVICE_IMPLEMENTATION
        The default class of the business context service implementation.
        See Also:
        Constant Field Values
      • DEFAULT_J2SE_CONTEXT_SERVICE_IMPLEMENTATION

        public static final java.lang.String DEFAULT_J2SE_CONTEXT_SERVICE_IMPLEMENTATION
        The default class of the business context service implementation running in J2SE mode.
        See Also:
        Constant Field Values
      • CONTEXT_SERVICE_IMPLEMENTATION_PROPERTY

        public static final java.lang.String CONTEXT_SERVICE_IMPLEMENTATION_PROPERTY
        The property file to represent which business context implementation to use.
        See Also:
        Constant Field Values
      • CONTEXT_SERVICE_IMPL

        public static final java.lang.String CONTEXT_SERVICE_IMPL
        The default business context service implementation
    • Method Detail

      • getContextService

        public static ContextService getContextService()
        Returns the implementation of the business context service to use.
        Returns:
        Implementation of the business context service.