|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectovm.polyd.policy.Invocation
ovm.polyd.policy.PlainInvocation
public class PlainInvocation
An invocation policy that simply invokes methods (for testing only).
Method Summary | |
---|---|
java.lang.Object |
invoke(java.lang.Object obj,
java.lang.reflect.Method m,
java.lang.Object[] args)
Invoke one method, using the given argument, performing additional actions whenever necessary. |
static Invocation |
theInvocation()
Returns an instance of this invocation policy. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Invocation theInvocation()
public java.lang.Object invoke(java.lang.Object obj, java.lang.reflect.Method m, java.lang.Object[] args) throws java.lang.Throwable
Invocation
invoke
in class Invocation
obj
- the instance to which the message is sentm
- the methodargs
- the arguments (including wrapped primitives)
null
java.lang.Throwable
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |