// Process managed bean interceptors
for (InterceptorConfiguration interceptorConfiguration : managedBeanConfiguration.getInterceptorConfigurations()) {
interceptors.add(processInterceptor(interceptorConfiguration.getInterceptorClass(), deploymentContext, moduleContext, interceptorConfiguration, batchBuilder, serviceBuilder, managedBeanContextServiceName, managedBeanContextJndiName));
}
final ContextService actualBeanContext = new ContextService(managedBeanContextJndiName);
batchBuilder.addService(managedBeanContextServiceName, actualBeanContext)
.addDependency(moduleContextServiceName, Context.class, actualBeanContext.getParentContextInjector());
// Add an object factory reference for this managed bean
final Reference managedBeanFactoryReference = ManagedBeanObjectFactory.createReference(beanClass, managedBeanServiceName.toString());
final ResourceBinder<Reference> managedBeanFactoryBinder = new ResourceBinder<Reference>(moduleContext.getContextName().append(managedBeanName), Values.immediateValue(managedBeanFactoryReference));
final ServiceName referenceBinderName = moduleContextServiceName.append(managedBeanName);