Package org.apache.tuscany.sca.runtime

Examples of org.apache.tuscany.sca.runtime.ContributionListener


        this.extensionPointRegistry = extensionPointRegistry;
        this.tuscanyRuntime = tuscanyRuntime;

        extensionPointRegistry.getExtensionPoint(UtilityExtensionPoint.class).getUtility(ActiveNodes.class).getActiveNodes().add(this);

        domainRegistry.addContributionListener(new ContributionListener() {
            public void contributionUpdated(String uri) {
                loadedContributions.remove(uri);
            }
            public void contributionRemoved(String uri) {
                loadedContributions.remove(uri);
View Full Code Here


       
        utilityExtensionPoint = extensionPointRegistry.getExtensionPoint(UtilityExtensionPoint.class);
       
        utilityExtensionPoint.getUtility(ActiveNodes.class).getActiveNodes().add(this);

        contributionListener = new ContributionListener() {
            public void contributionInstalled(String uri) {
                // Do nothing
            }
            public void contributionUpdated(String uri) {
                unloadContribution(uri);
View Full Code Here

        //                listener that appears in the list and which
        //                relies on the node still have the contribution
        //                information.
        ListIterator<ContributionListener> listenerIterator = contributionlisteners.listIterator(contributionlisteners.size());
        while (listenerIterator.hasPrevious()) {
            ContributionListener listener = listenerIterator.previous();
            listener.contributionRemoved(uri);
        }
        contributionDescriptions.remove(uri);       
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.runtime.ContributionListener

Copyright © 2018 www.massapicom. 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.