Package org.jeasy.rules.core
Class RuleProxy
java.lang.Object
org.jeasy.rules.core.RuleProxy
- All Implemented Interfaces:
InvocationHandler
Main class to create rule proxies from annotated objects.
- Author:
- Mahmoud Ben Hassine ([email protected])
-
Method Summary
-
Method Details
-
asRule
Makes the rule object implement theRule
interface.- Parameters:
rule
- the annotated rule object.- Returns:
- a proxy that implements the
Rule
interface.
-
invoke
- Specified by:
invoke
in interfaceInvocationHandler
- Throws:
Throwable
-
getTarget
-