Hi,

I am trying to write a MBean startup class to startup my ejb scheduler when 
deploy.  In my MBean class, I have

protected void startService() throws Exception {
   .......
  timer.initializeTimer(getFirstDate(), getInterval(), getName());
}

My question is, what value do I put for the attribute 'firstDate' in the 
jboss-service.xml if I want it to always set to the current date time?


     .....
     ??
      60000
      MyTimer
      .....


Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865788#3865788

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865788


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to