ilog.rules.res.session

Interface IlrStatefulSessionEJB

  • All Superinterfaces:
    IlrSession, IlrStatefulSession


    public interface IlrStatefulSessionEJB
    extends IlrStatefulSession
    IlrStatefulSessionEJB is an interface implemented by stateful rule session EJB3 components. This class contains an initialize method that sets up the environment. The initialize method should be be called on the bean before it is used.
    Since:
    7.0
    • Method Detail

      • initialize

        void initialize(IlrPath rulesetPath,
                      java.io.Serializable userData,
                      java.util.Map<java.lang.String,java.lang.Object> initParameters,
                      boolean forceUptodate,
                      boolean enableInterceptor)
                        throws IlrSessionCreationException
        Initializes the underlying stateful rule session. Call this method on the EJB3 bean before it is used.
        Throws:
        IlrSessionCreationException - if an error occurred while creating the underlying stateful session.
        Parameters:
        rulesetPath - the ruleset path. This parameter is mandatory.
        userData - Optional user data.
        initParameters - Optional init params.
        forceUptodate - For handling ruleset parsing policy.
        enableInterceptor - to enable interceptors

© Copyright IBM Corp. 1987, 2020