Package org.apache.tuscany.model.assembly

Examples of org.apache.tuscany.model.assembly.Part


    }

    public ConfiguredService getConfiguredService(ServiceURI address) {
        String partName = address.getPartName();
        String serviceName = address.getServiceName();
        Part part = getPart(partName);
        if (part instanceof Component) {
            Component<?> component = (Component<?>) part;
            if (serviceName != null) {
                return component.getConfiguredService(serviceName);
            } else {
View Full Code Here


            String partName = sourceURI.getPartName();
            String referenceName = sourceURI.getServiceName();
            if (referenceName != null) {
                //Component<?> component = (Component<?>)getPart(partName);
//                if (component != null) {
                Part part = getPart(partName);
                if (part instanceof Component) {
                    configuredReference = ((Component) part).getConfiguredReference(referenceName);
                } else if (part instanceof EntryPoint) {
                    configuredReference = ((EntryPoint) part).getConfiguredReference();
                }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.model.assembly.Part

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.