// Until that's fixed, work around it by adding the method marked @AroundInvoke as an
// @AroundTimeout.
LifecycleCallbackDescriptor aroundTimeoutDesc = new LifecycleCallbackDescriptor();
aroundTimeoutDesc.setLifecycleCallbackClass(interceptorName);
aroundTimeoutDesc.setLifecycleCallbackMethod(aroundInvokeMethod.getName());
interceptor.addAroundTimeoutDescriptor(aroundTimeoutDesc);
// SessionBeanInterceptor does not define an @PostConstruct method so use the aroundInvoke method
LifecycleCallbackDescriptor postConstructDesc = new LifecycleCallbackDescriptor();
postConstructDesc.setLifecycleCallbackClass(interceptorName);
postConstructDesc.setLifecycleCallbackMethod(aroundInvokeMethod.getName());