org.drools.spring.pojorule
Class RuleReflectMethod
java.lang.Object
org.drools.spring.pojorule.RuleReflectMethod
- All Implemented Interfaces:
- java.io.Externalizable, java.io.Serializable
public class RuleReflectMethod
- extends java.lang.Object
- implements java.io.Externalizable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
RuleReflectMethod
public RuleReflectMethod()
- Not intended to be called. Required only for Externalizable.
RuleReflectMethod
public RuleReflectMethod(Rule rule,
java.lang.Object pojo,
java.lang.reflect.Method method,
Argument[] arguments)
getMethodName
public java.lang.String getMethodName()
getArguments
public Argument[] getArguments()
invokeMethod
public java.lang.Object invokeMethod(Tuple tuple)
throws java.lang.Exception
- Throws:
java.lang.Exception
writeExternal
public void writeExternal(java.io.ObjectOutput out)
throws java.io.IOException
- Specified by:
writeExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
readExternal
public void readExternal(java.io.ObjectInput in)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
readExternal
in interface java.io.Externalizable
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object