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

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

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

Monitor.pushContext介绍

[英]Add a context string to the context stack
[中]将上下文字符串添加到上下文堆栈中

代码示例

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

monitor.pushContext("Composite: " + composite.getName().toString());
try {
    monitor.pushContext("Component: " + component.getName());

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

monitor.pushContext("Composite: " + composite.getName().toString());
try {
    monitor.pushContext("Component: " + component.getName());

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

monitor.pushContext("Composite: " + composite.getName().toString());
try {
    monitor.pushContext("Component: " + component.getName());

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

monitor.pushContext("Composite: " + composite.getName().toString());
try {
    monitor.pushContext("Component: " + component.getName());

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

public Definitions read(URL contributionURL, final URI uri, final URL url, ProcessorContext context) throws ContributionReadException {
  InputStream urlStream = null;
  Monitor monitor = context.getMonitor();
  monitor.pushContext("Definitions: " + url);
  try {

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

monitor.pushContext("Service: " + componentService.getName());
try {
  configure(componentService, component.getImplementation(), Intent.Type.interaction, context);
monitor.pushContext("Reference: " + componentReference.getName());
try {
  configure(componentReference, context);
monitor.pushContext("Service: " + componentService.getName());
try {
  configure(componentService, context);

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

monitor.pushContext("Composite: " + composite.getName().toString());

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

monitor.pushContext("Service: " + componentService.getName());
try {
  configure(componentService, component.getImplementation(), Intent.Type.interaction, context);
monitor.pushContext("Reference: " + componentReference.getName());
try {
  configure(componentReference, context);
monitor.pushContext("Service: " + componentService.getName());
try {
  configure(componentService, context);

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

monitor.pushContext("Composite: " + composite.getName().toString());

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

monitor.pushContext("Composite: " + composite.getName().toString());

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

monitor.pushContext("Composite: " + composite.getName().toString());

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

monitor.pushContext("Component: " + component.getName().toString());
    monitor.pushContext("Service: " + service.getName());

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

Contribution old = context.setContribution(contribution);
try {
  monitor.pushContext("Contribution: " + contribution.getURI());

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

context.getMonitor().pushContext("Composite: " + composite.getName().toString());
    context.getMonitor().pushContext("Component: " + component.getName());

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

Monitor monitor) throws CompositeBuilderException {
monitor.pushContext("Composite: " + composite.getName().toString());
try {
  for (Service service : composite.getServices()) {
    monitor.pushContext("Component: " + component.getName());
    try {
      for (ComponentService service : component.getServices()) {

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

Monitor monitor) throws CompositeBuilderException {
monitor.pushContext("Composite: " + composite.getName().toString());
try {
  for (Service service : composite.getServices()) {
    monitor.pushContext("Component: " + component.getName());
    try {
      for (ComponentService service : component.getServices()) {

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

context.getMonitor().pushContext("Composite: " + composite.getName().toString());
    context.getMonitor().pushContext("Component: " + component.getName());

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

monitor.pushContext("Component: " + component.getName().toString());

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

monitor.pushContext("Component: " + component.getName().toString());

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

monitor.pushContext("Extension points definitions");
try {
  for (Definitions defs : definitionsExtensionPoint.getDefinitions()) {

相关文章