org.drools.reteoo
Class DefaultFactHandleFactory

java.lang.Object
  extended byorg.drools.reteoo.DefaultFactHandleFactory
All Implemented Interfaces:
FactHandleFactory, java.io.Serializable

public class DefaultFactHandleFactory
extends java.lang.Object
implements FactHandleFactory

See Also:
Serialized Form
 

Constructor Summary
DefaultFactHandleFactory()
           
 
Method Summary
 FactHandle newFactHandle()
          Construct a handle with a new id.
 FactHandle newFactHandle(long id)
          Construct a handle with a specified id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFactHandleFactory

public DefaultFactHandleFactory()
Method Detail

newFactHandle

public final FactHandle newFactHandle()
Description copied from interface: FactHandleFactory
Construct a handle with a new id.

Specified by:
newFactHandle in interface FactHandleFactory
Returns:
The handle.

newFactHandle

public final FactHandle newFactHandle(long id)
Description copied from interface: FactHandleFactory
Construct a handle with a specified id.

Specified by:
newFactHandle in interface FactHandleFactory
Parameters:
id - The id to use.
Returns:
The handle.