Package org.jboss.ejb3.asynchronous

Source Code of org.jboss.ejb3.asynchronous.Asynch

/*    */ package org.jboss.ejb3.asynchronous;
/*    */
/*    */ import org.jboss.aspects.asynch.AsynchProvider;
/*    */ import org.jboss.aspects.asynch.Future;
/*    */ import org.jboss.ejb3.JBossProxy;
/*    */
/*    */ public class Asynch
/*    */ {
/*    */   public static Object getAsynchronousProxy(Object ejbRef)
/*    */   {
/* 38 */     JBossProxy proxy = (JBossProxy)ejbRef;
/* 39 */     return proxy.getAsynchronousProxy();
/*    */   }
/*    */
/*    */   public static Future getFutureResult(Object asynchProxy)
/*    */   {
/* 44 */     AsynchProvider provider = (AsynchProvider)asynchProxy;
/* 45 */     return provider.getFuture();
/*    */   }
/*    */ }

/* Location:           /home/mnovotny/projects/EMBEDDED_JBOSS_BETA3_COMMUNITY/embedded/output/lib/embedded-jboss/lib/jboss-embedded-all.jar
* Qualified Name:     org.jboss.ejb3.asynchronous.Asynch
* JD-Core Version:    0.6.0
*/
TOP

Related Classes of org.jboss.ejb3.asynchronous.Asynch

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.