Rio Project 4.2 API Documentation



org.rioproject.gnostic
Class DroolsCEPManager

java.lang.Object
  extended by org.rioproject.gnostic.DroolsCEPManager
All Implemented Interfaces:
CEPSession

public class DroolsCEPManager
extends Object
implements CEPSession

Creates and manages the Drools knowledge session.


Constructor Summary
DroolsCEPManager(DeployedServiceContext context, org.drools.agent.KnowledgeAgent kAgent)
           
 
Method Summary
 void close()
          Close, and/or terminate the CEPSession session
 void initialize(List<ServiceHandle> serviceHandles, RuleMap ruleMap, ClassLoader loader)
          Initialize the CEPSession, creating a session as needed.
 void insert(Calculable calculable)
          Insert a Calculable into the CEPSession
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DroolsCEPManager

public DroolsCEPManager(DeployedServiceContext context,
                        org.drools.agent.KnowledgeAgent kAgent)
Method Detail

initialize

public void initialize(List<ServiceHandle> serviceHandles,
                       RuleMap ruleMap,
                       ClassLoader loader)
Description copied from interface: CEPSession
Initialize the CEPSession, creating a session as needed.

Specified by:
initialize in interface CEPSession
Parameters:
serviceHandles - The services that will be used along with the CEPSession.
ruleMap - The information on the rules to use.
loader - The ClassLoader used to load additional classes

insert

public void insert(Calculable calculable)
Description copied from interface: CEPSession
Insert a Calculable into the CEPSession

Specified by:
insert in interface CEPSession
Parameters:
calculable - The Calculable to insert

close

public void close()
Description copied from interface: CEPSession
Close, and/or terminate the CEPSession session

Specified by:
close in interface CEPSession

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.