org.drools.jsr94.rules
Class Jsr94FactHandleFactory

java.lang.Object
  extended by org.drools.common.AbstractFactHandleFactory
      extended by org.drools.jsr94.rules.Jsr94FactHandleFactory
All Implemented Interfaces:
FactHandleFactory

public final class Jsr94FactHandleFactory
extends AbstractFactHandleFactory

A factory for creating Handles.


Constructor Summary
Jsr94FactHandleFactory()
           
 
Method Summary
 Class getFactHandleType()
           
protected  InternalFactHandle newFactHandle(int id, Object object, long recency, ObjectTypeConf conf, InternalWorkingMemory workingMemory, org.drools.runtime.rule.WorkingMemoryEntryPoint entryPoint)
           
 FactHandleFactory newInstance()
           
 FactHandleFactory newInstance(int id, long counter)
           
 
Methods inherited from class org.drools.common.AbstractFactHandleFactory
clear, destroyFactHandle, getAtomicId, getAtomicRecency, getId, getRecency, increaseFactHandleRecency, newFactHandle, newFactHandle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Jsr94FactHandleFactory

public Jsr94FactHandleFactory()
Method Detail

newFactHandle

protected final InternalFactHandle newFactHandle(int id,
                                                 Object object,
                                                 long recency,
                                                 ObjectTypeConf conf,
                                                 InternalWorkingMemory workingMemory,
                                                 org.drools.runtime.rule.WorkingMemoryEntryPoint entryPoint)
Specified by:
newFactHandle in class AbstractFactHandleFactory

newInstance

public FactHandleFactory newInstance()
Specified by:
newInstance in interface FactHandleFactory
Specified by:
newInstance in class AbstractFactHandleFactory
Returns:
a fresh instance of the fact handle factory, with any IDs reset etc.

getFactHandleType

public Class getFactHandleType()

newInstance

public FactHandleFactory newInstance(int id,
                                     long counter)


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