{
final AsyncLocalBusiness bean = (AsyncLocalBusiness) NAMING_CONTEXT.lookup(AsyncBean.class.getSimpleName()
+ JNDI_SUFFIX_LOCAL_BUSINESS);
log.info(bean.toString());
log.info(bean.getClass().toString());
final SessionProxyInvocationHandlerBase handler = (SessionProxyInvocationHandlerBase) Proxy
.getInvocationHandler(bean);
log.info("INTERCEPTORS: " + Arrays.asList(handler.getInterceptors()).toString());
final Future<Thread> invocation = bean.getThreadOfExecution();
// Block and test
final Thread beanThread = invocation.get(3, TimeUnit.SECONDS);