code: private Object getDefaultJavaCompObjectInstance(NamingConstants.JavaColonNamespace namespace,
                                                      String bindingName,
                                                      ResourceInfo resourceRefInfo) throws Exception {
          String name = namespace.unprefix(bindingName);
          // Use a filter that ignores an extra service for the supertype that config processing code creates
          // with the properties of the subtype (currently the extra service is required to support ibm:extends)
          StringBuilder filter = new StringBuilder("(&")
                          .append(FilterUtils.createPropertyFilter(com.ibm.ws.resource.ResourceFactory.JAVA_COMP_DEFAULT_NAME, name))
                          .append("(!(ibm.extends.source.factoryPid=*))")
                          .append(')');
          return createResourceWithFilter(filter.toString(), resourceRefInfo);
      }
docs: Try to obtain an object instance from a "java:comp/DefaultX" resource.