Package org.apache.tuscany.sca.implementation.osgi

Examples of org.apache.tuscany.sca.implementation.osgi.ServiceDescriptionsFactory


*/
public class ServiceDescriptionsModelResolver implements ModelResolver {
    private ServiceDescriptions serviceDescriptions;

    public ServiceDescriptionsModelResolver(Contribution contribution, FactoryExtensionPoint modelFactories) {
        ServiceDescriptionsFactory factory = modelFactories.getFactory(ServiceDescriptionsFactory.class);
        this.serviceDescriptions = factory.createServiceDescriptions();
    }
View Full Code Here


        return contribution;
    }
   
    public String instrospectSCAConfig(ServiceReference reference, Map<String, Object> props, ComponentService service){
       
        ServiceDescriptionsFactory serviceDescriptionFactory = registry.getExtensionPoint(ServiceDescriptionsFactory.class);
        SCAConfig scaConfig = serviceDescriptionFactory.createSCAConfig();
       
        // add the binding configurations
        List<Binding> bindings = scaConfig.getBindings();
        bindings.addAll(service.getBindings());
       
View Full Code Here

*/
public class ServiceDescriptionsModelResolver implements ModelResolver {
    private ServiceDescriptions serviceDescriptions;

    public ServiceDescriptionsModelResolver(Contribution contribution, FactoryExtensionPoint modelFactories) {
        ServiceDescriptionsFactory factory = modelFactories.getFactory(ServiceDescriptionsFactory.class);
        this.serviceDescriptions = factory.createServiceDescriptions();
    }
View Full Code Here

        return contribution;
    }
   
    public String instrospectSCAConfig(ServiceReference reference, Map<String, Object> props, ComponentService service){
       
        ServiceDescriptionsFactory serviceDescriptionFactory = registry.getExtensionPoint(ServiceDescriptionsFactory.class);
        SCAConfig scaConfig = serviceDescriptionFactory.createSCAConfig();
       
        // add the binding configurations
        List<Binding> bindings = scaConfig.getBindings();
        bindings.addAll(service.getBindings());
       
View Full Code Here

TOP

Related Classes of org.apache.tuscany.sca.implementation.osgi.ServiceDescriptionsFactory

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.