code: private Dictionary<String, Object> getDefaultProperties(String resourceAdapter, String interfaceName) throws ConfigEvaluatorException, ResourceException {
          Bundle bundle = JMSResourceDefinitionHelper.getBundle(bundleContext, resourceAdapter);
  
          if (bundle != null) {
  
              MetaTypeInformation metaTypeInformation = metaTypeServiceRef.getService().getMetaTypeInformation(bundle);
              String[] factoryPids = metaTypeInformation.getFactoryPids();
  
              for (String factoryPid : factoryPids) {
                  ObjectClassDefinition ocd = metaTypeInformation.getObjectClassDefinition(factoryPid, null);
                  ocd.getAttributeDefinitions(0);
  
                  Dictionary<String, Object> defaultProps = wsConfigurationHelperRef.getService().getMetaTypeDefaultProperties(factoryPid);
                  if (defaultProps.get(MANAGED_CONNECTION_FACTORY_CLASS) != null) {
                      for (String createsClass : (String[]) defaultProps.get(CREATES_OBJECTCLASS)) {
                          if (createsClass.equals(interfaceName))
                              return defaultProps;
                      }
                  }
              }
          }
          ResourceException x = new ResourceException();
          throw x;
      }
docs: Get Properties only those have default value
  
  @param resourceAdapter type of the resource adapter
  @param interfaceName the resource type provided by the resource adapter
  @return properties which has default values.
  @throws ConfigEvaluatorException
  @throws ResourceException