Package org.apache.geronimo.concurrent.test.context

Examples of org.apache.geronimo.concurrent.test.context.ContextServiceRemote


   
    protected ContextServiceRemote getBean(String username, String password) throws Exception {
        InitialContext ctx = getInitialContext(username, password);     
        String beanName = getRemoteBeanName();
        System.out.println("Using: " + beanName);
        ContextServiceRemote bean = (ContextServiceRemote)ctx.lookup(beanName);
        return bean;
    }
View Full Code Here


        return bean;
    }
   
    @Test
    public void testBasicContextMigration() throws Exception {
        ContextServiceRemote bean = getBean();
        bean.testBasicContextMigration();
    }
View Full Code Here

        bean.testBasicContextMigration();
    }
   
    @Test
    public void testSecurityContextMigration() throws Exception {
        ContextServiceRemote bean = getBean("system", "manager");
        bean.testSecurityContextMigration();
    }
View Full Code Here

TOP

Related Classes of org.apache.geronimo.concurrent.test.context.ContextServiceRemote

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.