org.drools.semantics.annotation.model
Class RuleReflectMethod

java.lang.Object
  extended by org.drools.semantics.annotation.model.RuleReflectMethod
All Implemented Interfaces:
Externalizable, Serializable

 class RuleReflectMethod
extends Object
implements Externalizable


Constructor Summary
RuleReflectMethod()
          Not intended to be called.
RuleReflectMethod(Rule rule, Object pojo, Method method, ParameterValue[] parameterValues)
           
 
Method Summary
 ParameterValue[] getParameterValues()
           
 Object invokeMethod(Tuple tuple)
           
 void readExternal(ObjectInput in)
           
 String toString()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RuleReflectMethod

public RuleReflectMethod()
Not intended to be called. Required only for Externalizable.


RuleReflectMethod

public RuleReflectMethod(Rule rule,
                         Object pojo,
                         Method method,
                         ParameterValue[] parameterValues)
Method Detail

getParameterValues

public ParameterValue[] getParameterValues()

invokeMethod

public Object invokeMethod(Tuple tuple)
                    throws Exception
Throws:
Exception

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

toString

public String toString()
Overrides:
toString in class Object


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