Package org.apache.tuscany.sca.contribution.updater

Examples of org.apache.tuscany.sca.contribution.updater.ComponentUpdaterException


                    businessInterface.getClass().getName())) {
                genericType = tmp;
            }
        }
        if (genericType == null)
            throw new ComponentUpdaterException(
                    "User has specified a wrong businessInterface:"
                            + businessInterface);
        // baseType = JavaIntrospectionHelper.getBusinessInterface(baseType,
        // genericType);
        /*
 
View Full Code Here


            Reference reference = null;
            try {
                reference = buildReference(referenceName, className,
                        interfaceName, true);
            } catch (Exception e) {
                throw new ComponentUpdaterException(e.getMessage());
            }
            source.getImplementation().getReferences().add(reference);

            // targetService.
            ComponentService targetService = assemblyFactory
                    .createComponentService();
            targetService.setUnresolved(true);
            targetService.setName(targetComponent);
            targetReference.getTargets().add(targetService);

            // reconciliate
            reconcileReference(reference, targetReference, componentName);
            // create component reference for the reference
            source.getReferences().add(targetReference);
            try {
                processor.resolveReference(targetReference, contrib
                        .getModelResolver());
            } catch (ContributionResolveException e) {
                throw new ComponentUpdaterException(
                        "Contribution Resolving Exception while updating..");
            }

            CompositeActivatorImpl activator = (CompositeActivatorImpl) compositeActivator;
            compositeBuilder.attachWire(source, composite, targetReference);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.contribution.updater.ComponentUpdaterException

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.