|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.dpml.util.ContextInvocationHandler
Invoication handler utility for a Context inner-class.
| Method Summary | |
static Object |
getProxiedInstance(Class clazz,
Map map)
Construct a new context instance implementing the supplied class and backed by entries in the supplied map. |
Object |
invoke(Object proxy,
Method method,
Object[] args)
Invoke the specified method on underlying object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
public static Object getProxiedInstance(Class clazz,
Map map)
clazz - the context inner classmap - a map of context entry keys to values
public Object invoke(Object proxy,
Method method,
Object[] args)
throws Throwable
invoke in interface InvocationHandlerproxy - the proxy objectmethod - the method invoked on proxy objectargs - the arguments supplied to method
Throwable - if an error occurs
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||