Rio Project 4.2 API Documentation



org.rioproject.gnostic
Interface CEPSession

All Known Implementing Classes:
DroolsCEPManager

public interface CEPSession

An interface allowing the setup, insertion and closing of a Complex Event Processor session.


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
 

Method Detail

initialize

void initialize(List<ServiceHandle> serviceHandles,
                RuleMap ruleMap,
                ClassLoader loader)
                throws IOException
Initialize the CEPSession, creating a session as needed.

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
Throws:
IOException - if for any reason problems arise accessing resources

insert

void insert(Calculable calculable)
Insert a Calculable into the CEPSession

Parameters:
calculable - The Calculable to insert

close

void close()
Close, and/or terminate the CEPSession session


Copyright © Rio Project.

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