|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface is a representation of a client session with a rules engine. A rules engine session serves as an entry point into an underlying rules engine. The RuleSession is bound to a rules engine instance and exposes a vendor-neutral rule processing API for executing Rule(s) within a bound RuleExecutionSet.
Note: the release method must be called to clean up all resources used by the RuleSession. Calling release may make the RuleSession eligible to be returned to a RuleSession pool.
RuleRuntime
,
RuleExecutionSet
,
Rule
Method Summary | |
RuleExecutionSetMetadata |
getRuleExecutionSetMetadata()
Returns the meta data for the rule execution set bound to this rule session. |
int |
getType()
Returns the type identifier for this RuleSession. |
void |
release()
Releases all resources used by this rule session. |
Method Detail |
public RuleExecutionSetMetadata getRuleExecutionSetMetadata() throws InvalidRuleSessionException, java.rmi.RemoteException
InvalidRuleSessionException
- on illegal rule session state.@throws
javax.rules.InvalidRuleSessionExceptionpublic void release() throws java.rmi.RemoteException, InvalidRuleSessionException
InvalidRuleSessionException
- on illegal rule session state.InvalidRuleSessionException
- public int getType() throws java.rmi.RemoteException, InvalidRuleSessionException
InvalidRuleSessionException
- on illegal rule session state.InvalidRuleSessionException
- RuleRuntime
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |