com.caucho.ejb.burlap
Class MetaStub
java.lang.Object
com.caucho.ejb.burlap.MetaStub
public class MetaStub
- extends java.lang.Object
Utility class to call methods easily.
|
Method Summary |
static java.lang.Object |
call(Path urlPath,
java.lang.String method,
java.lang.Object arg)
Calls an arbitrary method at the given url. |
static java.lang.Object |
call(Path urlPath,
java.lang.String method,
java.lang.Object[] args)
Calls an arbitrary method at the given url. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetaStub
public MetaStub()
call
public static java.lang.Object call(Path urlPath,
java.lang.String method,
java.lang.Object arg)
throws java.lang.Throwable
- Calls an arbitrary method at the given url.
- Parameters:
url - a path to the remote urlmethod - the method to callarg - an argument
- Throws:
java.lang.Throwable
call
public static java.lang.Object call(Path urlPath,
java.lang.String method,
java.lang.Object[] args)
throws java.lang.Throwable
- Calls an arbitrary method at the given url.
- Parameters:
url - a path to the remote urlmethod - the method to callargs - any arguments to call
- Throws:
java.lang.Throwable