code: @Override
      public void processXML()
                      throws InjectionException
      {
          final boolean isTraceOn = TraceComponent.isAnyTracingEnabled();
          if (isTraceOn && tc.isEntryEnabled())
              Tr.entry(tc, "processXML : " + this);
  
          List<? extends MailSession> mailSessionDefinitions = ivNameSpaceConfig.getJNDIEnvironmentRefs(MailSession.class);
  
          if (mailSessionDefinitions != null)
          {
              for (MailSession mailSession : mailSessionDefinitions)
              {
                  String jndiName = mailSession.getName();
                  InjectionBinding<MailSessionDefinition> injectionBinding = ivAllAnnotationsCollection.get(jndiName);
                  MailSessionDefinitionInjectionBinding binding;
  
                  if (injectionBinding != null)
                  {
                      binding = (MailSessionDefinitionInjectionBinding) injectionBinding;
                  }
                  else
                  {
                      binding = new MailSessionDefinitionInjectionBinding(jndiName, ivNameSpaceConfig);
                      addInjectionBinding(binding);
                  }
  
                  binding.mergeXML(mailSession);
              }
          }
  
          if (isTraceOn && tc.isEntryEnabled())
              Tr.exit(tc, "processXML : " + this);
  
      }
docs: Processes {@link ComponentNameSpaceConfiguration#getJNDIEnvironmnetRefs} for MailSessions.
  
  </ul>
  
  @throws InjectionException if an error is found processing the XML.