|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Deprecated public interface ExitPoint
An exit point provides a mechanism to send objects from the working memory to some external process or function. For instance, an exit point can be used to inform some piece of code that an object matches a rule.
To create an exit point, implement the interface and register it with the KnowledgeRuntime:
... ksession.registerExitPoint("my-exit-point", new MyExitPointImpl());
Exit points are invoked from the consequence side of a rule:
when ... then exitPoints["my-exit-point"].insert(...);
Method Summary | |
---|---|
void |
insert(Object object)
Deprecated. |
Method Detail |
---|
void insert(Object object)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |