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

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


org.drools
Interface StatelessSession

All Known Implementing Classes:
ReteooStatelessSession

public interface StatelessSession


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 identifer, Object value)
           
 void setGlobalResolver(GlobalResolver globalResolver)
          Delegate used to resolve any global names not found in the global map.
 

Method Detail

getWorkingMemoryEventListeners

List getWorkingMemoryEventListeners()
Returns all event listeners.

Returns:
listeners The listeners.

addEventListener

void addEventListener(AgendaEventListener listener)
Add an event listener.

Parameters:
listener - The listener to add.

removeEventListener

void removeEventListener(AgendaEventListener listener)
Remove an event listener.

Parameters:
listener - The listener to remove.

setAgendaFilter

void setAgendaFilter(AgendaFilter agendaFilter)

setGlobalResolver

void setGlobalResolver(GlobalResolver globalResolver)
Delegate used to resolve any global names not found in the global map.

Parameters:
globalResolver -

setGlobal

void setGlobal(String identifer,
               Object value)

execute

void execute(Object object)

execute

void execute(Object[] list)

execute

void execute(List list)

asyncExecute

void asyncExecute(Object object)

asyncExecute

void asyncExecute(Object[] list)

asyncExecute

void asyncExecute(List list)

executeWithResults

StatelessSessionResult executeWithResults(Object object)

executeWithResults

StatelessSessionResult executeWithResults(Object[] list)

executeWithResults

StatelessSessionResult executeWithResults(List list)


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