org.apache.tuscany.sca.monitor.Monitor.warning()方法的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(6.0k)|赞(0)|评价(0)|浏览(156)

本文整理了Java中org.apache.tuscany.sca.monitor.Monitor.warning()方法的一些代码示例,展示了Monitor.warning()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Monitor.warning()方法的具体详情如下:
包路径:org.apache.tuscany.sca.monitor.Monitor
类名称:Monitor
方法名:warning

Monitor.warning介绍

[英]A utility function for raising an error. It creates the problem and adds it to the monitor
[中]用于引发错误的实用函数。它会产生问题并将其添加到监视器中

代码示例

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

private void warn(Monitor monitor, String message, Object model, Throwable ex) {
  Monitor.warning(monitor, this, "contribution-validation-messages", message, ex);
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

/**
 * Report a warning.
 *
 * @param monitor
 * @param problems
 * @param message
 * @param model
 */
protected void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  Monitor.warning(monitor, this, Messages.BUILDER_VALIDATION_BUNDLE, message, messageParameters);
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

/**
 * Report a warning.
 *
 * @param monitor
 * @param problems
 * @param message
 * @param model
 */
protected void warning(Monitor monitor, String message, Object model, Object... messageParameters) {
  Monitor.warning(monitor, this, Messages.BUILDER_VALIDATION_BUNDLE, message, messageParameters);
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-contribution

private void warn(Monitor monitor, String message, Object model, Throwable ex) {
  Monitor.warning(monitor, this, "contribution-validation-messages", message, ex);
}

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

Monitor.warning(monitor, 
    this, 
    BUILDER_VALIDATION_BUNDLE,

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

Monitor.warning(monitor, 
    this, 
    BUILDER_VALIDATION_BUNDLE,

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wire.setSource(resolvedReference);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireSourceNotFound", source
    .getName());
  wire.setTarget(target);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireTargetNotFound", target
    .getName());
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireIncompatibleInterface", source
    .getName(), target.getName());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

wire.setSource(resolvedReference);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireSourceNotFound", source
    .getName());
  wire.setTarget(target);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireTargetNotFound", target
    .getName());
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireIncompatibleInterface", source
    .getName(), target.getName());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

wire.setSource(resolvedReference);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireSourceNotFound", source
    .getName());
  wire.setTarget(target);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireTargetNotFound", target
    .getName());
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireIncompatibleInterface", source
    .getName(), target.getName());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

wire.setSource(resolvedReference);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireSourceNotFound", source
    .getName());
  wire.setTarget(target);
} else {
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireTargetNotFound", target
    .getName());
  Monitor.warning(monitor, this, Messages.ASSEMBLY_VALIDATION, "WireIncompatibleInterface", source
    .getName(), target.getName());

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

monitor.getLastProblem().toString());
} else {
  Monitor.warning(monitor, 
          this, 
          "endpoint-validation-messages",

代码示例来源:origin: org.apache.tuscany.sca/tuscany-interface-wsdl

Monitor.warning(monitor, WSDLInterfaceProcessor.class.getName(),
    "interface-wsdlxml-validation-messages", "WsdlInterfaceDoesNotMatch", 
    wsdlDefinition.getNamespace(), wsdlInterface.getName().toString() );

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

Monitor.warning(monitor, WSDLInterfaceProcessor.class.getName(),
    "interface-wsdlxml-validation-messages", "WsdlInterfaceDoesNotMatch", 
    wsdlDefinition.getNamespace(), wsdlInterface.getName().toString() );

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
      reference.getEndpointReferences().add(endpointRef);
      Monitor.warning(monitor,
              this,
              Messages.ASSEMBLY_VALIDATION,
endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
reference.getEndpointReferences().add(endpointRef);
Monitor.warning(monitor,
        this,
        Messages.ASSEMBLY_VALIDATION,
      endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
      reference.getEndpointReferences().add(endpointRef);
      Monitor.warning(monitor,
              this,
              Messages.ASSEMBLY_VALIDATION,
  Monitor.warning(monitor,
          this,
          Messages.ASSEMBLY_VALIDATION,

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
      reference.getEndpointReferences().add(endpointRef);
      Monitor.warning(monitor,
              this,
              Messages.ASSEMBLY_VALIDATION,
endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
reference.getEndpointReferences().add(endpointRef);
Monitor.warning(monitor,
        this,
        Messages.ASSEMBLY_VALIDATION,
      endpointRef.setStatus(EndpointReference.Status.WIRED_TARGET_NOT_FOUND);
      reference.getEndpointReferences().add(endpointRef);
      Monitor.warning(monitor,
              this,
              Messages.ASSEMBLY_VALIDATION,
  Monitor.warning(monitor,
          this,
          Messages.ASSEMBLY_VALIDATION,

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

monitor.getLastProblem().toString());
} else {
  Monitor.warning(monitor, 
          this, 
          "endpoint-validation-messages",

代码示例来源:origin: org.apache.tuscany.sca/tuscany-builder

Monitor.warning(monitor,
        this,
        Messages.ASSEMBLY_VALIDATION,

代码示例来源:origin: org.apache.tuscany.sca/tuscany-base-runtime

Monitor.warning(monitor,
        this,
        Messages.ASSEMBLY_VALIDATION,

相关文章