Hi
 Guy's i am unable to get any timer notifications , with the follwoing code, i am a newbie to all these JMX stuff Please help. I have created Sun 's implementation  of Timer Bean  in the JBOSS server. and use following code to get notifications
 
 
 
myMBeanServer.invoke(myObjectName, "addNotification",
                       new Object[] { new Notification("Blah",this,12345),
               date,new Long(Timer.ONE_MINUTE),new Long(5)},
           new String[] { "javax.management.Notification",
           "java.util.Date","long","long"
           });

Reply via email to