Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 /*    */ package org.jboss.ejb3.asynchronous;
 /*    */ 
 /*    */ 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
 */
New to GrepCode? Check out our FAQ X