code: @Override
      public Collection<? extends NameClassPair> listInstances(JavaColonNamespace namespace, String nameInContext) {
          // 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 Collections.emptyList();
          }
  
          if (JavaColonNamespace.COMP_WS.equals(namespace) && "".equals(nameInContext)) {
              NameClassPair pair = new NameClassPair(nameInContext, ExtendedJTATransaction.class.getName());
              return Collections.singletonList(pair);
          }
  
          return Collections.emptyList();
      }
docs: {@inheritDoc}