org.drools.rule.builder.dialect.asm
Class InvokerGenerator

java.lang.Object
  extended by org.drools.rule.builder.dialect.asm.InvokerGenerator
Direct Known Subclasses:
ConsequenceGenerator, EvalGenerator, PredicateGenerator

public class InvokerGenerator
extends Object


Nested Class Summary
protected static class InvokerGenerator.DeclarationMatcher
           
static class InvokerGenerator.EqualsMethod
           
static class InvokerGenerator.EvaluateMethod
           
static class InvokerGenerator.GetMethodBytecodeMethod
           
 
Field Summary
static ClassGenerator.MethodBody INVOKER_EQUALS_METHOD
           
static Long INVOKER_SERIAL_UID
           
 
Constructor Summary
InvokerGenerator()
           
 
Method Summary
static ClassGenerator createInvokerClassGenerator(InvokerDataProvider data, RuleBuildContext ruleContext)
           
static ClassGenerator createInvokerClassGenerator(InvokerStub stub, WorkingMemory workingMemory)
           
static ClassGenerator createInvokerStubGenerator(InvokerDataProvider data, RuleBuildContext ruleContext)
           
static ClassGenerator createStubGenerator(InvokerDataProvider data, ClassLoader classLoader, TypeResolver typeResolver, Set<String> imports)
           
protected static org.drools.util.CompositeClassLoader getCompositeClassLoader(Object obj)
           
protected static org.drools.util.CompositeClassLoader getCompositeClassLoader(Object obj, WorkingMemory workingMemory)
           
protected static TypeResolver getTypeResolver(InvokerStub stub, WorkingMemory workingMemory, org.drools.util.CompositeClassLoader classLoader)
           
protected static List<InvokerGenerator.DeclarationMatcher> matchDeclarationsToTuple(Declaration[] declarations, LeftTuple tuple)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INVOKER_SERIAL_UID

public static final Long INVOKER_SERIAL_UID

INVOKER_EQUALS_METHOD

public static final ClassGenerator.MethodBody INVOKER_EQUALS_METHOD
Constructor Detail

InvokerGenerator

public InvokerGenerator()
Method Detail

createInvokerStubGenerator

public static ClassGenerator createInvokerStubGenerator(InvokerDataProvider data,
                                                        RuleBuildContext ruleContext)

createStubGenerator

public static ClassGenerator createStubGenerator(InvokerDataProvider data,
                                                 ClassLoader classLoader,
                                                 TypeResolver typeResolver,
                                                 Set<String> imports)

getCompositeClassLoader

protected static org.drools.util.CompositeClassLoader getCompositeClassLoader(Object obj)

getCompositeClassLoader

protected static org.drools.util.CompositeClassLoader getCompositeClassLoader(Object obj,
                                                                              WorkingMemory workingMemory)

getTypeResolver

protected static TypeResolver getTypeResolver(InvokerStub stub,
                                              WorkingMemory workingMemory,
                                              org.drools.util.CompositeClassLoader classLoader)

createInvokerClassGenerator

public static ClassGenerator createInvokerClassGenerator(InvokerStub stub,
                                                         WorkingMemory workingMemory)

createInvokerClassGenerator

public static ClassGenerator createInvokerClassGenerator(InvokerDataProvider data,
                                                         RuleBuildContext ruleContext)

matchDeclarationsToTuple

protected static List<InvokerGenerator.DeclarationMatcher> matchDeclarationsToTuple(Declaration[] declarations,
                                                                                    LeftTuple tuple)


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.