Package org.apache.tuscany.sca.databinding.impl

Examples of org.apache.tuscany.sca.databinding.impl.MediatorImpl


        ModelFactoryExtensionPoint factories = registry.getExtensionPoint(ModelFactoryExtensionPoint.class);
        AssemblyFactory assemblyFactory = factories.getFactory(AssemblyFactory.class);

        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
        MediatorImpl mediator = new MediatorImpl(dataBindings, transformers);
       
        //FIXME Pass this factory differently as it's not an extension point
        PropertyValueObjectFactory propertyFactory = new DefaultPropertyValueObjectFactory(mediator);
        registry.addExtensionPoint(propertyFactory);
View Full Code Here


        proxyService = extensionPoints.getExtensionPoint(ProxyFactoryExtensionPoint.class);

        // TODO: could the runtime have a default PropertyValueObjectFactory?
        DataBindingExtensionPoint dataBindings = extensionPoints.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = extensionPoints.getExtensionPoint(TransformerExtensionPoint.class);
        MediatorImpl mediator = new MediatorImpl(dataBindings, transformers);
        propertyFactory = new JavaPropertyValueObjectFactory(mediator);
    }
View Full Code Here

    public void start(ExtensionPointRegistry registry) {
        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
       
        MediatorImpl mediator = new MediatorImpl(dataBindings, transformers);
        Input2InputTransformer input2InputTransformer = new Input2InputTransformer();
        input2InputTransformer.setMediator(mediator);
        transformers.addTransformer(input2InputTransformer);

        Output2OutputTransformer output2OutputTransformer = new Output2OutputTransformer();
View Full Code Here

        annotationSupport = configProperties.isAnnotationSupported();
        versionSupported = configProperties.getSupportedVersion();
        multipleContextSupport = configProperties.isMultipleContextSupported();
       
        // TODO: could the runtime have a default PropertyValueObjectFactory?
        propertyFactory = new JavaPropertyValueObjectFactory(new MediatorImpl(extensionPoints));
    }
View Full Code Here

        }
        annotationSupport = configProperties.isAnnotationSupported();
        versionSupported = configProperties.getSupportedVersion();
       
        // TODO: could the runtime have a default PropertyValueObjectFactory?
        propertyFactory = new JavaPropertyValueObjectFactory(new MediatorImpl(extensionPoints));
    }
View Full Code Here

        transformerFactory = modelFactories.getFactory(TransformerFactory.class);

        interfaceContractMapper = utilities.getUtility(InterfaceContractMapper.class);
        policyBuilder = new ComponentPolicyBuilderImpl(registry);
        builders = registry.getExtensionPoint(BuilderExtensionPoint.class);
        mediator = new MediatorImpl(registry);
    }
View Full Code Here

        super();
       
        proxyFactory = ExtensibleProxyFactory.getInstance(extensionPoints);

        // TODO: could the runtime have a default PropertyValueObjectFactory?
        propertyFactory = new JavaPropertyValueObjectFactory(new MediatorImpl(extensionPoints));
    }
View Full Code Here

            javaImplementationFactory.addClassVisitor(extension);
        }
       
        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
        MediatorImpl mediator =new MediatorImpl(dataBindings, transformers);
        JavaPropertyValueObjectFactory factory = new JavaPropertyValueObjectFactory(mediator);

        ContextFactoryExtensionPoint contextFactories = registry.getExtensionPoint(ContextFactoryExtensionPoint.class);
        ComponentContextFactory componentContextFactory = contextFactories.getFactory(ComponentContextFactory.class);
        RequestContextFactory requestContextFactory = contextFactories.getFactory(RequestContextFactory.class);
View Full Code Here

    public void start(ExtensionPointRegistry registry) {
        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
       
        MediatorImpl mediator = new MediatorImpl(dataBindings, transformers);
        Input2InputTransformer input2InputTransformer = new Input2InputTransformer();
        input2InputTransformer.setMediator(mediator);
        transformers.addTransformer(input2InputTransformer);

        Output2OutputTransformer output2OutputTransformer = new Output2OutputTransformer();
View Full Code Here

    private JavaPropertyValueObjectFactory javaFactory;

    public XQueryImplementationProviderFactory(ExtensionPointRegistry registry) {
        DataBindingExtensionPoint dataBindings = registry.getExtensionPoint(DataBindingExtensionPoint.class);
        TransformerExtensionPoint transformers = registry.getExtensionPoint(TransformerExtensionPoint.class);
        MediatorImpl mediator = new MediatorImpl(dataBindings, transformers);
        this.javaFactory = new JavaPropertyValueObjectFactory(mediator);
    }
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.databinding.impl.MediatorImpl

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.