org.drools.reteoo
Interface FactHandleFactory

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DefaultFactHandleFactory, Jsr94FactHandleFactory

public interface FactHandleFactory
extends java.io.Serializable


Method Summary
 FactHandle newFactHandle()
          Construct a handle with a new id.
 FactHandle newFactHandle(long id)
          Construct a handle with a specified id.
 FactHandleFactory newInstance()
           
 

Method Detail

newFactHandle

FactHandle newFactHandle()
Construct a handle with a new id.

Returns:
The handle.

newFactHandle

FactHandle newFactHandle(long id)
Construct a handle with a specified id.

Parameters:
id - The id to use.
Returns:
The handle.

newInstance

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