Examples of popContext()


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

                        }
                    }
                }
            }
        } finally {
            monitor.popContext();
            context.setContribution(old);
        }

        return contribution;
    }
View Full Code Here

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

                } // end for
            } finally {
                context.setArtifact(oldArtifact);
            }
        } finally {
            monitor.popContext();
            context.setContribution(old);
        } // end try
    } // end method resolve

    /**
 
View Full Code Here

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

                }
            } // end for

        } finally {
            // Pop context
            monitor.popContext();
        } // end try
    }

    public QName getArtifactType() {
        return COMPOSITE_QNAME;
View Full Code Here

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

        try {
            for (Definitions defs : definitionsExtensionPoint.getDefinitions()) {
                DefinitionsUtil.aggregate(defs, systemDefinitions, monitor);
            }
        } finally {
            monitor.popContext();
        }

        // create a system contribution to hold the definitions. The contribution
        // will be extended later with definitions from application contributions
        systemContribution = contributionFactory.createContribution();
View Full Code Here

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

            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

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

            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

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

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

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

                                // check that the resulting endpoint has no mutually exclusive intents
                                checkMutualExclusion(ep, context);
                            }
                        } finally {
                            monitor.popContext();
                        }
                    }

                    for (ComponentReference componentReference : component.getReferences()) {
                        monitor.pushContext("Reference: " + componentReference.getName().toString());
View Full Code Here

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

                                // check that the resulting endpoint reference has no mutually exclusive intents
                                checkMutualExclusion(epr, context);
                            }
                        } finally {
                            monitor.popContext();
                        }
                    }

                    if (implementation instanceof Composite) {                                              
                      resolveAndCheck(implementation, context);
View Full Code Here

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
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.