Package org.jboss.ejb3.core.test.jbpapp7523

Examples of org.jboss.ejb3.core.test.jbpapp7523.PassivatingStatefulLocal.activate()


            TestCache.passivationCompleteNotification.wait(10000);
        }

        assertEquals(0, PassivatingStatefulBean.postActivations.get());

        bean.activate();
        assertEquals(1, PassivatingStatefulBean.postActivations.get());

        PassivatingStatefulBean.barrier.await(10, TimeUnit.SECONDS);
        synchronized (TestCache.passivationCompleteNotification) {
            TestCache.passivationCompleteNotification.wait(10000);
View Full Code Here


        PassivatingStatefulBean.barrier.await(10, TimeUnit.SECONDS);
        synchronized (TestCache.passivationCompleteNotification) {
            TestCache.passivationCompleteNotification.wait(10000);
        }

        bean.activate();
        assertEquals(2, PassivatingStatefulBean.postActivations.get());
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.