Package org.apache.geronimo.core.service

Examples of org.apache.geronimo.core.service.InvocationType


public class InvocationTypeTest extends TestCase {

    public void testRemote() {

        InvocationType invocationType = InvocationType.REMOTE;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("REMOTE", invocationType.toString());
    }
View Full Code Here


        assertEquals("REMOTE", invocationType.toString());
    }

    public void testHome() {

        InvocationType invocationType = InvocationType.HOME;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertTrue(invocationType.isHomeInvocation());
        assertFalse(invocationType.isBeanInvocation());

        assertEquals("HOME", invocationType.toString());
    }
View Full Code Here

        assertEquals("HOME", invocationType.toString());
    }

    public void testLocal() {

        InvocationType invocationType = InvocationType.LOCAL;
        assertFalse(invocationType.isRemoteInvocation());
        assertTrue(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("LOCAL", invocationType.toString());
    }
View Full Code Here

        assertEquals("LOCAL", invocationType.toString());
    }

    public void testLocalHome() {

        InvocationType invocationType = InvocationType.LOCALHOME;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("LOCALHOME", invocationType.toString());
    }
View Full Code Here

public class InvocationTypeTest extends TestCase {

    public void testRemote() {

        InvocationType invocationType = InvocationType.REMOTE;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("REMOTE", invocationType.toString());
    }
View Full Code Here

        assertEquals("REMOTE", invocationType.toString());
    }

    public void testHome() {

        InvocationType invocationType = InvocationType.HOME;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertTrue(invocationType.isHomeInvocation());
        assertFalse(invocationType.isBeanInvocation());

        assertEquals("HOME", invocationType.toString());
    }
View Full Code Here

        assertEquals("HOME", invocationType.toString());
    }

    public void testLocal() {

        InvocationType invocationType = InvocationType.LOCAL;
        assertFalse(invocationType.isRemoteInvocation());
        assertTrue(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("LOCAL", invocationType.toString());
    }
View Full Code Here

        assertEquals("LOCAL", invocationType.toString());
    }

    public void testLocalHome() {

        InvocationType invocationType = InvocationType.LOCALHOME;
        assertTrue(invocationType.isRemoteInvocation());
        assertFalse(invocationType.isLocalInvocation());
        assertFalse(invocationType.isHomeInvocation());
        assertTrue(invocationType.isBeanInvocation());

        assertEquals("LOCALHOME", invocationType.toString());
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.core.service.InvocationType

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.