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

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


org.drools.spi
Interface FactHandleFactory

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractFactHandleFactory, Jsr94FactHandleFactory, ReteooFactHandleFactory

public interface FactHandleFactory
extends Serializable

Factory Interface to return new FactHandles

Author:
Mark Proctor, Bob McWhirter
See Also:
FactHandle

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

Method Detail

newFactHandle

InternalFactHandle newFactHandle(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

Class getFactHandleType()


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