code: @Override
      public Object getObjectInstance(JavaColonNamespace namespace, String name) throws NamingException {
          // Get the ComponentMetaData for the currently active component.
          // There is no comp namespace if there is no active component.
          ComponentMetaData cmd = ComponentMetaDataAccessorImpl.getComponentMetaDataAccessor().getComponentMetaData();
          if (cmd == null) {
              return null;
          }
  
          if (JavaColonNamespace.COMP_WS.equals(namespace) && EXTENDED_JTA_TRANSACTION.equals(name)) {
              return ExtendedJTATransactionFactory.createExtendedJTATransaction();
          }
  
          return null;
      }
docs: {@inheritDoc}