org.drools.semantics.annotation.model
Class AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory

java.lang.Object
  extended by org.drools.semantics.annotation.model.AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory
All Implemented Interfaces:
AnnonatedPojoRuleBuilder.ParameterValueFactory
Direct Known Subclasses:
AnnonatedPojoRuleBuilder.DroolsApplicationDataParameterValueFactory, AnnonatedPojoRuleBuilder.DroolsTupleParameterValueFactory
Enclosing class:
AnnonatedPojoRuleBuilder

public abstract static class AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory
extends Object
implements AnnonatedPojoRuleBuilder.ParameterValueFactory


Constructor Summary
protected AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory(Class<? extends java.lang.annotation.Annotation> annotationClass)
           
 
Method Summary
 ParameterValue create(Rule rule, Class<?> parameterClass, java.lang.annotation.Annotation[] parameterAnnotations)
           
protected abstract  ParameterValue doCreate(Rule rule, Class<?> parameterClass, java.lang.annotation.Annotation annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.drools.semantics.annotation.model.AnnonatedPojoRuleBuilder.ParameterValueFactory
getParameterValueType
 

Constructor Detail

AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory

protected AnnonatedPojoRuleBuilder.AnnotationParameterValueFactory(Class<? extends java.lang.annotation.Annotation> annotationClass)
Method Detail

doCreate

protected abstract ParameterValue doCreate(Rule rule,
                                           Class<?> parameterClass,
                                           java.lang.annotation.Annotation annotation)
                                    throws InvalidRuleException
Throws:
InvalidRuleException

create

public ParameterValue create(Rule rule,
                             Class<?> parameterClass,
                             java.lang.annotation.Annotation[] parameterAnnotations)
                      throws DroolsException
Specified by:
create in interface AnnonatedPojoRuleBuilder.ParameterValueFactory
Throws:
DroolsException


Copyright © 2001-2005 The Codehaus. All Rights Reserved.