Package org.apache.tuscany.sca.monitor

Examples of org.apache.tuscany.sca.monitor.Monitor.popContext()


                            // check that all intents are resolved
                            checkIntentsResolved(implementation, context);
                        }
                    }
                } finally {
                    monitor.popContext();
                }
            }
            removeConstrainedIntents(composite, context);
        } finally {
            monitor.popContext();
View Full Code Here


                    monitor.popContext();
                }
            }
            removeConstrainedIntents(composite, context);
        } finally {
            monitor.popContext();
        }
    }
    private void validateTransactionIntents(Composite composite, BuilderContext context) {                         
      
View Full Code Here

                }
            } catch (IOException ioe) {
                //ignore
            }
           
            monitor.popContext();
        }
    }

    public void resolve(Definitions scaDefinitions, ModelResolver resolver, ProcessorContext context) throws ContributionResolveException {
        extensionProcessor.resolve(scaDefinitions, resolver, context);
View Full Code Here

           
            // NOTE: configureServices/configureReferences may add callback references and services
            policyBuilder.configure(component, context);
           
        } finally {
            monitor.popContext();
        }        
    }
   
    /**
     * Checks that a component implementation is present and resolved
View Full Code Here

            monitor.pushContext("Service: " + componentService.getName());
            try {
                configure(componentService, component.getImplementation(), Intent.Type.interaction, context);
                removeConstrainedIntents(componentService, context);
            } finally {
                monitor.popContext();
            }           
        }
       
        // Inherit the intents and policySets from the componentType
        for (ComponentReference componentReference : component.getReferences()) {
View Full Code Here

            monitor.pushContext("Reference: " + componentReference.getName());
            try {
                configure(componentReference, context);
                removeConstrainedIntents(componentReference, context);
            } finally {
                monitor.popContext();
            }
        }
       
        for (ComponentService componentService : component.getServices()) {
            monitor.pushContext("Service: " + componentService.getName());
View Full Code Here

            monitor.pushContext("Service: " + componentService.getName());
            try {
                configure(componentService, context);
                removeConstrainedIntents(componentService, context);
            } finally {
                monitor.popContext();
            }
        }
    }
   
    /**
 
View Full Code Here

                            contribution.getExtensions().addAll(c.getExtensions());
                            contribution.getAttributeExtensions().addAll(c.getAttributeExtensions());
                        }
                    }
                } finally {
                    monitor.popContext();
                    context.setContribution(old);
                }                   
            }
           
            List<Artifact> contributionArtifacts = contribution.getArtifacts();
View Full Code Here

                contribution.getImports().add(defaultImport);
                DefaultExport defaultExport = contributionFactory.createDefaultExport();
                contribution.getExports().add(defaultExport);
            }
        } finally {
            monitor.popContext();
            context.setContribution(old);
        }
       
        return contribution;
    }
View Full Code Here

              if (resolved != deployable) {
                  deployables.set(i, resolved);
              }
          } // end for
      } finally {
        monitor.popContext();
        context.setContribution(old);
      } // end try
    } // end method resolve

    /**
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.