Package org.apache.geronimo.concurrent.test.thread

Examples of org.apache.geronimo.concurrent.test.thread.ManagedThreadFactoryRemote


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


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

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

TOP

Related Classes of org.apache.geronimo.concurrent.test.thread.ManagedThreadFactoryRemote

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.