ilog.rules.res.session.interceptor

Class IlrInterceptorContext

  • java.lang.Object
    • ilog.rules.res.session.interceptor.IlrInterceptorContext


  • public class IlrInterceptorContext
    extends java.lang.Object
    IlrInterceptorContext holds objects and passes them to the interception chain.
    Since:
    7.0
    • Constructor Detail

      • IlrInterceptorContext

        public IlrInterceptorContext(IlrPath initialRsPath)
        Creates context with the parameters passed. Note: The context object is constructed by the rule session layer. Do not create your own customized context object.
        Parameters:
        initialRsPath - The initial ruleset path.
    • Method Detail

      • getRequest

        public IlrSessionRequest getRequest()
        Returns the session request.
        Returns:
        The session request.
      • setRequest

        public void setRequest(IlrSessionRequest request)
        Sets the session request.
        Parameters:
        request - The new session request.
      • getResponse

        public IlrSessionResponse getResponse()
        Returns the session response. This object is available only after execution.
        Returns:
        The session response.
      • setResponse

        public void setResponse(IlrSessionResponse response)
        Sets the session response.
        Parameters:
        response - The new session response.
      • getSessionFactory

        public IlrSessionFactory getSessionFactory()
        Returns the session factory.
        Returns:
        ilog.rule.res.session.IlrSessionFactory
      • setSessionFactory

        public void setSessionFactory(IlrSessionFactory sessionFactory)
        Sets the session factory.
        Parameters:
        sessionFactory - The new session factory.
      • getRuleAppInformation

        public IlrRuleAppInformation getRuleAppInformation()
        Returns RuleApp information. This object is loaded on demand by means of a management session.
        Returns:
        The IlrRuleAppInformation object for this instance.
      • setRuleAppInformation

        public void setRuleAppInformation(IlrRuleAppInformation ruleAppInformation)
        Sets RuleApp information.
        Parameters:
        ruleAppInformation - The new IlrRuleAppInformation object.
      • getSession

        public IlrSession getSession()
        Returns the rule session that calls the interceptor.
        Returns:
        The rule session.
      • setSession

        public void setSession(IlrSession session)
        Sets the rule session.
        Parameters:
        session - The new rule session.

© Copyright IBM Corp. 1987, 2020