Package org.jboss.test.txtimer.support

Examples of org.jboss.test.txtimer.support.SimpleInfo


         TimerSessionHome home = (TimerSessionHome)iniCtx.lookup(TimerSessionHome.JNDI_NAME);
         TimerSession session = home.create();
         session.resetCallCount();
  
         // create a timer to expire in 2sec
         session.createTimer(2000, 0, new SimpleInfo("NonScoped"));
           
         // the timer shouldn't have expired yet
         assertEquals("unexpected call count", 0, session.getGlobalCallCount());
        
         // undeploy, the timer must have been persisted
View Full Code Here


         TimerSessionHome home = (TimerSessionHome)iniCtx.lookup(TimerSessionHome.JNDI_NAME);
         TimerSession session = home.create();
         session.resetCallCount();
  
         // create a timer to expire in 2sec, with a SimpleInfo serializable
         session.createTimer(2000, 0, new SimpleInfo("ScopedTest"));
           
         // the timer shouldn't have expired yet
         assertEquals("unexpected call count", 0, session.getGlobalCallCount());
        
         // undeploy, the timer must have been persisted
View Full Code Here

TOP

Related Classes of org.jboss.test.txtimer.support.SimpleInfo

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.