code: private void setServiceReferenceInternal(ServiceReference<?> ref, ObjectName name) {
          if (mBeanMap.put(ref, name) != null) {
              // ignore
          }
          // Only register the MBeans here if the activate() method has already been called on this component. TODO remove comment, no longer valid
          if (!mDelayedMBeanActivator.registerDelayedMBean(ref, name)) {
              // Collision: If we get here it means that more than one of our MBeans has the same ObjectName.
              // This shouldn't happen.
              // TODO: trace, FFDC?
          }
      }
docs: Helper methods