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

Examples of org.apache.tuscany.core.implementation.system.model.SystemBinding


    }

    public SystemBinding load(CompositeComponent parent, XMLStreamReader reader, DeploymentContext deploymentContext)
        throws XMLStreamException, LoaderException {
        LoaderUtil.skipToEndElement(reader);
        return new SystemBinding();
    }
View Full Code Here


        return targetComponentDefinition;
    }


    public static BoundReferenceDefinition<SystemBinding> createBoundReference() {
        SystemBinding binding = new SystemBinding();
        BoundReferenceDefinition<SystemBinding> referenceDefinition = new BoundReferenceDefinition<SystemBinding>();
        referenceDefinition.setBinding(binding);
        referenceDefinition.setName("target");
        ServiceContract<?> contract = new JavaServiceContract();
        contract.setInterfaceClass(Target.class);
View Full Code Here

    /**
     * Creates a bound service with the name "service" that is configured to be wired to a target named "target/Target"
     */
    public static BoundServiceDefinition<SystemBinding> createBoundService() {
        SystemBinding binding = new SystemBinding();
        BoundServiceDefinition<SystemBinding> serviceDefinition = new BoundServiceDefinition<SystemBinding>();
        serviceDefinition.setBinding(binding);
        serviceDefinition.setName("serviceDefinition");
        ServiceContract<?> contract = new JavaServiceContract();
        contract.setInterfaceClass(Target.class);
View Full Code Here

TOP

Related Classes of org.apache.tuscany.core.implementation.system.model.SystemBinding

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.