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 aninitialize
method that sets up the environment. Theinitialize
method should be be called on the bean before it is used.- Since:
- 7.0
-
-
Method Summary
Methods Modifier and Type Method and Description void
initialize(IlrPath rulesetPath, java.io.Serializable userData, java.util.Map<java.lang.String,java.lang.Object> initParameters, boolean forceUptodate, boolean enableInterceptor)
Initializes the underlying stateful rule session.-
Methods inherited from interface ilog.rules.res.session.IlrStatefulSession
close, execute, execute, execute, execute, getOutput, getRulesetArchiveProperties, getRulesetPath, getRulesetSignature, getTraceFilter, getUserData, getWarnings, getWorkingMemory, getWorkingMemoryUUIDs, insertJavaObjects, insertXMLObjects, isInterceptorEnabled, isRulesetUptodate, isTraceEnabled, reset, resetRuleflow, retract, setTraceEnabled, setTraceFilter, update
-
-
-
-
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
-
-