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

FactHandleFactory - JBoss RULES 3.0.6 API 英文版文档


org.drools.spi
Interface FactHandleFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
AbstractFactHandleFactory, ReteooFactHandleFactory

public interface FactHandleFactory
extends java.io.Serializable

Factory Interface to return new FactHandles

See Also:
FactHandle

Method Summary
 void destroyFactHandle(InternalFactHandle factHandle)
           
 java.lang.Class getFactHandleType()
           
 void increaseFactHandleRecency(InternalFactHandle factHandle)
          Increases the recency of the FactHandle
 InternalFactHandle newFactHandle(java.lang.Object object)
          Construct a handle with a new id.
 FactHandleFactory newInstance()
           
 

Method Detail

newFactHandle

InternalFactHandle newFactHandle(java.lang.Object object)
Construct a handle with a new id.

Returns:
The handle.

increaseFactHandleRecency

void increaseFactHandleRecency(InternalFactHandle factHandle)
Increases the recency of the FactHandle

Parameters:
factHandle - The fact handle to have its recency increased.

destroyFactHandle

void destroyFactHandle(InternalFactHandle factHandle)

newInstance

FactHandleFactory newInstance()
Returns:
a fresh instance of the fact handle factory, with any IDs reset etc.

getFactHandleType

java.lang.Class getFactHandleType()