org.jboss.ejb3.common.proxy.plugins.async
Class AsyncUtils

java.lang.Object
  extended by org.jboss.ejb3.common.proxy.plugins.async.AsyncUtils

public class AsyncUtils
extends java.lang.Object

AsyncUtils Common Utility methods for use with the Async Proxies


Method Summary
static java.util.concurrent.Future<?> getFutureResult(java.lang.Object proxy)
          Obtains the Future result from the specified proxy, which must implement AsyncProvider
static
<T> T
mixinAsync(T delegate)
          Makes the specified delegate object invoked as async, tacking on support to obtain the async result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFutureResult

public static java.util.concurrent.Future<?> getFutureResult(java.lang.Object proxy)
Obtains the Future result from the specified proxy, which must implement AsyncProvider


mixinAsync

public static <T> T mixinAsync(T delegate)
Makes the specified delegate object invoked as async, tacking on support to obtain the async result