< prev index next >

src/java.management/share/classes/javax/management/timer/Timer.java

Print this page

        

*** 193,203 **** * @param server The MBean server in which the timer MBean will be registered. * @param name The object name of the timer MBean. * * @return The name of the timer MBean registered. * ! * @exception java.lang.Exception */ public ObjectName preRegister(MBeanServer server, ObjectName name) throws java.lang.Exception { return name; } --- 193,203 ---- * @param server The MBean server in which the timer MBean will be registered. * @param name The object name of the timer MBean. * * @return The name of the timer MBean registered. * ! * @exception java.lang.Exception if something goes wrong */ public ObjectName preRegister(MBeanServer server, ObjectName name) throws java.lang.Exception { return name; }
*** 215,225 **** * Allows the timer MBean to perform any operations it needs before being unregistered * by the MBean server. * <P> * Stops the timer. * ! * @exception java.lang.Exception */ public void preDeregister() throws java.lang.Exception { TIMER_LOGGER.logp(Level.FINER, Timer.class.getName(), "preDeregister", "stop the timer"); --- 215,225 ---- * Allows the timer MBean to perform any operations it needs before being unregistered * by the MBean server. * <P> * Stops the timer. * ! * @exception java.lang.Exception if something goes wrong */ public void preDeregister() throws java.lang.Exception { TIMER_LOGGER.logp(Level.FINER, Timer.class.getName(), "preDeregister", "stop the timer");
< prev index next >