Hi

When you implement a method-interceptor you get a call to the method

public Object invoke(MethodInvocation invocation) throws Throwable {

and through the invocation object, you get the opportunity to proceed
with or cancel the intercepted method invocation. My question is then,
if it is possible to store this invocation object for later use,
thereby making a continuation of sorts? If so, is it also possible
(thread safe) to have the invocation proceed on a different thread?

My hope is that I can use this to move all invocations on an object to
an internal single-threaded ExecutorService.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-guice?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to