org.drools.base.dataproviders
Class MVELDataProvider

java.lang.Object
  extended by org.drools.base.dataproviders.MVELDataProvider
All Implemented Interfaces:
Externalizable, Serializable, Cloneable, MVELCompileable, DataProvider

public class MVELDataProvider
extends Object
implements DataProvider, MVELCompileable, Externalizable

See Also:
Serialized Form

Constructor Summary
MVELDataProvider()
           
MVELDataProvider(MVELCompilationUnit unit, String id)
           
 
Method Summary
 DataProvider clone()
           
 void compile(MVELDialectRuntimeData runtimeData)
           
 Object createContext()
           
 Declaration[] getRequiredDeclarations()
           
 Iterator getResults(Tuple tuple, WorkingMemory wm, PropagationContext ctx, Object executionContext)
           
 void readExternal(ObjectInput in)
           
 void replaceDeclaration(Declaration declaration, Declaration resolved)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MVELDataProvider

public MVELDataProvider()

MVELDataProvider

public MVELDataProvider(MVELCompilationUnit unit,
                        String id)
Method Detail

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

compile

public void compile(MVELDialectRuntimeData runtimeData)
Specified by:
compile in interface MVELCompileable

getRequiredDeclarations

public Declaration[] getRequiredDeclarations()
Specified by:
getRequiredDeclarations in interface DataProvider

replaceDeclaration

public void replaceDeclaration(Declaration declaration,
                               Declaration resolved)
Specified by:
replaceDeclaration in interface DataProvider

createContext

public Object createContext()
Specified by:
createContext in interface DataProvider

getResults

public Iterator getResults(Tuple tuple,
                           WorkingMemory wm,
                           PropagationContext ctx,
                           Object executionContext)
Specified by:
getResults in interface DataProvider

clone

public DataProvider clone()
Specified by:
clone in interface DataProvider
Overrides:
clone in class Object


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