Package org.apache.tuscany.core.implementation.system.component

Examples of org.apache.tuscany.core.implementation.system.component.SystemReferenceImpl


                                 BoundReferenceDefinition<SystemBinding> boundReferenceDefinition,
                                 DeploymentContext deploymentContext) {
        CompositeComponent autowireComponent = parent.getParent();
        Class<?> interfaze = boundReferenceDefinition.getServiceContract().getInterfaceClass();
        String name = boundReferenceDefinition.getName();
        SystemReferenceImpl reference = new SystemReferenceImpl(name, interfaze, parent);
        SystemInboundWire inboundWire = new SystemInboundWireImpl(name, interfaze);
        String refName = boundReferenceDefinition.getName();
        boolean required = boundReferenceDefinition.isRequired();
        SystemOutboundWire outboundWire = new SystemOutboundAutowire(refName, interfaze, autowireComponent, required);
        reference.setInboundWire(inboundWire);
        reference.setOutboundWire(outboundWire);
        return reference;
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.implementation.system.component.SystemReferenceImpl

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.