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

Interface ContextService

  • All Known Implementing Classes:
    RemoteContextServiceImpl


    public interface ContextService
    This interface defines the required methods to implement the Context Service used by external business logic. Context Service provides services to create, manage the life cycle of, and associate different business contexts to a session.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.Object findContext(java.lang.String strContextName)
      This method finds the context with a given name that is associated with a given activity.
    • Field Detail

      • COPYRIGHT

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

      • findContext

        java.lang.Object findContext(java.lang.String strContextName)
                              throws java.lang.Exception
        This method finds the context with a given name that is associated with a given activity. This method is used by business logic to retrieve session information of a given activity.
        Parameters:
        strContextName - the context name
        Returns:
        the context; null if not found
        Throws:
        java.lang.Exception - if any generic error occurs