docs: @Override
      public ServiceRegistration<?> registerJavaMailMBean(String mailSessionID) {
          ObjectName objectName = J2EEManagementObjectNameFactory.createJavaMailObjectName(getServerName(), mailSessionID, getResourceCounter());
          JavaMailResourceMBeanImpl javaMail = new JavaMailResourceMBeanImpl(objectName);
  
          Dictionary<String, String> props = new Hashtable<String, String>();
          props.put(KEY_SERVICE_VENDOR, "IBM");
          props.put(KEY_JMX_OBJECTNAME, javaMail.getobjectName());
          ServiceRegistration<?> sr = bundle.registerService(JavaMailResourceMBeanImpl.class, javaMail, props);
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
              Tr.debug(tc, "javaMail=" + javaMail.toString() + " props=" + props);
          }
          return sr;
      }