BeanManagerImpl beanManager = (BeanManagerImpl) this.beanManager;
EjbServices ejbServices = beanManager.getServices().get(EjbServices.class);
if (ejbServices instanceof ForwardingEjbServices) {
ejbServices = ((ForwardingEjbServices) ejbServices).delegate();
}
InterceptorBindings interceptorBindings = null;
if (ejbServices instanceof WeldEjbServices) {
interceptorBindings = ((WeldEjbServices) ejbServices).getBindings(ejbName);
}
return interceptorBindings;
}