站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 4.0.0.11754MR2 API 英文版文档

ReteooStatelessSession (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档


org.drools.reteoo
Class ReteooStatelessSession

java.lang.Object
  extended by org.drools.reteoo.ReteooStatelessSession
All Implemented Interfaces:
StatelessSession

public class ReteooStatelessSession
extends Object
implements StatelessSession


Constructor Summary
ReteooStatelessSession(WorkingMemory workingMemory, ExecutorService executorService)
           
 
Method Summary
 void addEventListener(AgendaEventListener listener)
          Add an event listener.
 void asyncExecute(List list)
           
 void asyncExecute(Object object)
           
 void asyncExecute(Object[] list)
           
 void execute(List list)
           
 void execute(Object object)
           
 void execute(Object[] list)
           
 StatelessSessionResult executeWithResults(List list)
           
 StatelessSessionResult executeWithResults(Object object)
           
 StatelessSessionResult executeWithResults(Object[] list)
           
 List getWorkingMemoryEventListeners()
          Returns all event listeners.
 void removeEventListener(AgendaEventListener listener)
          Remove an event listener.
 void setAgendaFilter(AgendaFilter agendaFilter)
           
 void setGlobal(String identifier, Object value)
           
 void setGlobalResolver(GlobalResolver globalResolver)
          Delegate used to resolve any global names not found in the global map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReteooStatelessSession

public ReteooStatelessSession(WorkingMemory workingMemory,
                              ExecutorService executorService)
Method Detail

addEventListener

public void addEventListener(AgendaEventListener listener)
Description copied from interface: StatelessSession
Add an event listener.

Specified by:
addEventListener in interface StatelessSession
Parameters:
listener - The listener to add.

getWorkingMemoryEventListeners

public List getWorkingMemoryEventListeners()
Description copied from interface: StatelessSession
Returns all event listeners.

Specified by:
getWorkingMemoryEventListeners in interface StatelessSession
Returns:
listeners The listeners.

removeEventListener

public void removeEventListener(AgendaEventListener listener)
Description copied from interface: StatelessSession
Remove an event listener.

Specified by:
removeEventListener in interface StatelessSession
Parameters:
listener - The listener to remove.

setAgendaFilter

public void setAgendaFilter(AgendaFilter agendaFilter)
Specified by:
setAgendaFilter in interface StatelessSession

setGlobal

public void setGlobal(String identifier,
                      Object value)
Specified by:
setGlobal in interface StatelessSession

setGlobalResolver

public void setGlobalResolver(GlobalResolver globalResolver)
Description copied from interface: StatelessSession
Delegate used to resolve any global names not found in the global map.

Specified by:
setGlobalResolver in interface StatelessSession

execute

public void execute(Object object)
Specified by:
execute in interface StatelessSession

execute

public void execute(Object[] list)
Specified by:
execute in interface StatelessSession

execute

public void execute(List list)
Specified by:
execute in interface StatelessSession

asyncExecute

public void asyncExecute(Object object)
Specified by:
asyncExecute in interface StatelessSession

asyncExecute

public void asyncExecute(Object[] list)
Specified by:
asyncExecute in interface StatelessSession

asyncExecute

public void asyncExecute(List list)
Specified by:
asyncExecute in interface StatelessSession

executeWithResults

public StatelessSessionResult executeWithResults(Object object)
Specified by:
executeWithResults in interface StatelessSession

executeWithResults

public StatelessSessionResult executeWithResults(Object[] list)
Specified by:
executeWithResults in interface StatelessSession

executeWithResults

public StatelessSessionResult executeWithResults(List list)
Specified by:
executeWithResults in interface StatelessSession


Copyright © 2001-2007 JBoss Inc.. All Rights Reserved.