org.drools.spring.metadata
Class AccessAndReturnTypeMethodMetadataSource

java.lang.Object
  extended by org.drools.spring.metadata.AccessAndReturnTypeMethodMetadataSource
All Implemented Interfaces:
MethodMetadataSource, StoppingClassCapable

public class AccessAndReturnTypeMethodMetadataSource
extends java.lang.Object
implements MethodMetadataSource, StoppingClassCapable

A method will be considered a condition if: - method is public - method returns boolean - method has at least a one parameter A method will be considered a consequence if: - method is public - method returns void


Constructor Summary
AccessAndReturnTypeMethodMetadataSource()
           
 
Method Summary
 MethodMetadata getMethodMetadata(java.lang.reflect.Method method)
           
 void setStoppingClass(java.lang.Class stoppingClass)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessAndReturnTypeMethodMetadataSource

public AccessAndReturnTypeMethodMetadataSource()
Method Detail

setStoppingClass

public void setStoppingClass(java.lang.Class stoppingClass)
Specified by:
setStoppingClass in interface StoppingClassCapable

getMethodMetadata

public MethodMetadata getMethodMetadata(java.lang.reflect.Method method)
Specified by:
getMethodMetadata in interface MethodMetadataSource