docs: protected <T> ManagedObjectFactory<T> getInterceptorManagedObjectFactory(BeanMetaData bmd, Class<T> klass) throws EJBConfigurationException {
          ManagedObjectFactory<T> factory = null;
          ManagedObjectService managedObjectService = getManagedObjectService();
          if (managedObjectService != null) {
              try {
                  factory = managedObjectService.createInterceptorManagedObjectFactory(bmd._moduleMetaData, klass);
                  //TODO the isManaged method could be moved to the ManagedObjectService and then wouldn't need to create the factory
                  if (!factory.isManaged()) {
                      factory = null;
                  }
              } catch (ManagedObjectException e) {
                  throw new EJBConfigurationException(e);
              }
          }
  
          return factory;
      }