Examples of asyncMethod()


Examples of org.jboss.as.demos.ejb3.archive.AsyncLocal.asyncMethod()

    }

    public String callAsync(String jndiName, String input) throws Exception {
        InitialContext ctx = new InitialContext();
        AsyncLocal bean = (AsyncLocal)ctx.lookup(jndiName);
        final Future<String> future = bean.asyncMethod(input);
        return future.get();
    }

}
View Full Code Here
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.