code: @Override
      public void registerObjectFactory(Class<? extends Annotation> annotation,
                                        Class<?> type,
                                        Class<? extends ObjectFactory> objectFactory,
                                        boolean allowOverride,
                                        Set<String> allowedAttributes,
                                        boolean refAddrNeeded)
                      throws InjectionException
      {
          registerObjectFactoryInfo(new ObjectFactoryInfoImpl(annotation, type, objectFactory, allowOverride,
                          allowedAttributes, refAddrNeeded));
      }
docs: {@inheritDoc}