Package eu.admire.dispel.engine

Examples of eu.admire.dispel.engine.GatewayRegistry


    public String getListOfLocalDataResources()
    {
        LOG.debug("getListOfLocalDataResources");

        initGatewayBeanFactory();   
        GatewayRegistry gatewayRegistry =
            GatewayBeanFactory.getInstance().getGatewayRegistry();       
        String name = gatewayRegistry.getLocalGateway();
       
        return gatewayRegistry.findDataResourcesForGateway(name).toString();
    }
View Full Code Here


    {
        LOG.debug("getListOfAllDataResources");
       
        Set<String> allResources = new HashSet<String>();
        initGatewayBeanFactory();   
        GatewayRegistry gatewayRegistry =
            GatewayBeanFactory.getInstance().getGatewayRegistry();   
       
        for (String name : gatewayRegistry.getAllGateways())
        {
            allResources.addAll(gatewayRegistry.findDataResourcesForGateway(name));
        }
       
        //now add local
        String localName = gatewayRegistry.getLocalGateway();       
        allResources.addAll(gatewayRegistry.findDataResourcesForGateway(localName));
       
        return allResources.toString();
    }
View Full Code Here

TOP

Related Classes of eu.admire.dispel.engine.GatewayRegistry

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.