Package org.apache.hivemind

Examples of org.apache.hivemind.Reverser


    private void attempt(String name) throws Exception
    {
        Registry reg = buildFrameworkRegistry("BeanService.xml");

        Reverser r = (Reverser) reg.getService(name, Reverser.class);

        assertEquals("DNIMEVIH", r.reverse("HIVEMIND"));
        // Call reverse a second time to check for HIVEMIND-118
        r.reverse("HIVEMIND");
        reg.shutdown();

        try
        {
            r.reverse("SHUTDOWN");
            unreachable();
        }
        catch (ApplicationRuntimeException ex)
        {
        }
View Full Code Here

TOP

Related Classes of org.apache.hivemind.Reverser

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.