code: public void register(BridgeFactory bridgeFactory) {
          Class<?> nearType = bridgeFactory.getNearType();
          Class<?> farType = bridgeFactory.getFarType();
          logger.trace(display(nearType) + ": " + display(farType));
          nearToFarType.put(nearType, farType);
          farToNearType.put(farType, nearType);
          nearTypeToFactory.put(nearType, bridgeFactory);
          farTypeToFactory.put(farType, bridgeFactory);
          if (accessors.containsKey(nearType)) {
              for (FactoryAccessor<?> accessor : accessors.get(nearType)) {
                  injectInto(accessor);
              }
              accessors.remove(nearType);
          }
      }
docs: Registers the given bridge factory and its bridge head types.
  @param bridgeFactory The bridge factory to register