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 Object

AsyncUtils Common Utility methods for use with the Async Proxies

Version:
$Revision: $
Author:
ALR

Method Summary
static Future<?> getFutureResult(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 Future<?> getFutureResult(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



Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.