org.apache.commons.pool
Class MethodCall

java.lang.Object
  extended by org.apache.commons.pool.MethodCall

public class MethodCall
extends Object

Holds method names, parameters, and return values for tracing method calls.

Version:
$Revision: 480413 $ $Date: 2006-11-28 22:16:05 -0700 (Tue, 28 Nov 2006) $
Author:
Sandy McArthur

Constructor Summary
MethodCall(String name)
           
MethodCall(String name, List params)
           
MethodCall(String name, Object param)
           
MethodCall(String name, Object param1, Object param2)
           
 
Method Summary
 boolean equals(Object o)
           
 String getName()
           
 List getParams()
           
 Object getReturned()
           
 int hashCode()
           
 MethodCall returned(Object obj)
           
 void setReturned(Object returned)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodCall

public MethodCall(String name)

MethodCall

public MethodCall(String name,
                  Object param)

MethodCall

public MethodCall(String name,
                  Object param1,
                  Object param2)

MethodCall

public MethodCall(String name,
                  List params)
Method Detail

getName

public String getName()

getParams

public List getParams()

getReturned

public Object getReturned()

setReturned

public void setReturned(Object returned)

returned

public MethodCall returned(Object obj)

equals

public boolean equals(Object o)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2001-2014 The Apache Software Foundation. All Rights Reserved.