Package eu.admire.gateway.location.simple

Examples of eu.admire.gateway.location.simple.SimpleGatewayLocation


{

    @Test
    public void testSimple() throws Exception
    {
        GatewayLocation gw1 = new SimpleGatewayLocation("GWA", "EPR");
        GatewayLocation gw2 = new SimpleGatewayLocation("GWB", "EPR");
        Graph graph = new Graph();
        ProcessingElementNode a = new ProcessingElementNode("A");
        a.addAnnotation(AnnotationKeys.GATEWAY, gw1);
        ProcessingElementNode b = new ProcessingElementNode("B");
        b.addAnnotation(AnnotationKeys.GATEWAY, gw1);
View Full Code Here


    }

    @Test
    public void testOneGraph() throws Exception
    {
        GatewayLocation gw = new SimpleGatewayLocation("GWA", "EPR");
        Graph graph = new Graph();
        ProcessingElementNode a = new ProcessingElementNode("A");
        a.addAnnotation(AnnotationKeys.GATEWAY, gw);
        ProcessingElementNode b = new ProcessingElementNode("B");
        b.addAnnotation(AnnotationKeys.GATEWAY, gw);
View Full Code Here

     */
    public void addGateway(String gatewayName, String address)
    {
        mGatewayNamesToLocations.put(
                gatewayName,
                new SimpleGatewayLocation(gatewayName, address));
    }
View Full Code Here

    private static final Logger LOG =
        Logger.getLogger(SimpleRequestContext.class);

    public SimpleRequestContext(DISPELProcess process)
    {
        mLocation = new SimpleGatewayLocation("root", process.getProcessAddress());
        mDISPELProcess = process;
    }
View Full Code Here

     */
    public void addGateway(String gatewayName, String address)
    {
        mGatewayNamesToLocations.put(
                gatewayName,
                new SimpleGatewayLocation(gatewayName, address));
    }
View Full Code Here

TOP

Related Classes of eu.admire.gateway.location.simple.SimpleGatewayLocation

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.