Package org.apache.tuscany.sca.monitor

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


            // on child components. Instead child component properties might take their
            // values from composite properties. Hence there is nothing to do here.
            //calculateProperties(composite, components);
       
        } finally {
            monitor.popContext();
        }
    }

    /**
     * Index components, services and references inside a composite.
View Full Code Here


                }
            } // end for

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

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

                            endpoint.setBinding(binding);
                            endpoint.setUnresolved(false);
                            service.getEndpoints().add(endpoint);
                        } // end for
                    } finally {
                        monitor.popContext();
                    }                  
                }
            } finally {
                monitor.popContext();
            }                 
View Full Code Here

                    } finally {
                        monitor.popContext();
                    }                  
                }
            } finally {
                monitor.popContext();
            }                 
        }
    }

    public String getID() {
View Full Code Here

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

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

                    if (implementation instanceof Composite) {
                        inherit(implementation, Intent.Type.implementation, true, component, composite);
View Full Code Here

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

                } finally {
                    monitor.popContext();
                }
            }
        } finally {
            monitor.popContext();
        }
    }
   
    /**
     * This is mainly about removing policies that don't "applyTo" the element where
View Full Code Here

        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

                }
            } // end for

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

    public QName getArtifactType() {
        return COMPOSITE_QNAME;
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.