org.prevayler.contrib.facade
Class MethodInfo

java.lang.Object
  extended by org.prevayler.contrib.facade.MethodInfo
All Implemented Interfaces:
Serializable

public class MethodInfo
extends Object
implements Serializable

A Serializable representation of a Method.

Since:
0_1
Author:
Jay Sachs [jay@contravariant.org]
See Also:
Serialized Form

Constructor Summary
MethodInfo(Method p_method)
          Construct a MethodInfo from the specified Method.
 
Method Summary
 Method getMethod()
          "Reconstitute" (i.e., lookup reflectively) the Method represented by this object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodInfo

public MethodInfo(Method p_method)
Construct a MethodInfo from the specified Method.

Parameters:
p_method - the Method to "wrap"
Method Detail

getMethod

public Method getMethod()
                 throws Exception
"Reconstitute" (i.e., lookup reflectively) the Method represented by this object. Note that different results may occur if different ClassLoaders are used during construction and the invocation of this method.

Returns:
the Method represented by this object
Throws:
the - usual batch of reflection-based exceptions if something goes wrong
Exception


Copyright © 2001-2013. All Rights Reserved.