org.drools.runtime
Interface ExitPoint


Deprecated. Use Channel instead

@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

insert

void insert(Object object)
Deprecated. 


Copyright © 2001-2011 JBoss by Red Hat. All Rights Reserved.