code: public void onCreateProperty(AddressTemplate address, ModelNode entity, String... names) {
          List<String> args = new LinkedList<>();
          args.add(0, selectedAdapter);
          for (String name : names) {
              args.add(name);
          }
  
          ResourceAddress fqAddress = address.resolve(statementContext, args);
          entity.get(OP).set(ADD);
          entity.get(ADDRESS).set(fqAddress);
  
          dispatcher.execute(new DMRAction(entity), new SimpleCallback<DMRResponse>() {
  
              @Override
              public void onSuccess(DMRResponse result) {
                  ModelNode response = result.get();
  
                  if (response.isFailure()) {
                      Console.error(Console.MESSAGES.failedToCreateResource(fqAddress.toString()),
                              response.getFailureDescription());
                  } else {
  
                      Console.info(Console.MESSAGES.successfullyAdded(fqAddress.toString()));
                  }
  
                  loadAdapter();
              }
          });
      }
docs: /*public void onCreate(AddressTemplate address, String name, ModelNode entity) {
  
  ResourceAddress fqAddress = address.resolve(statementContext, name);
  
  entity.get(OP).set(ADD);
  entity.get(ADDRESS).set(fqAddress);
  
  dispatcher.execute(new DMRAction(entity), new SimpleCallback<DMRResponse>() {
  
  @Override
  public void onSuccess(DMRResponse result) {
  ModelNode response = result.get();
  
  if (response.isFailure()) {
  Console.error("Failed to create resource " + fqAddress, response.getFailureDescription());
  } else {
  
  Console.info("Successfully created " + fqAddress);
  }
  
  loadAdapter();
  }
  });
  }