1<html> 2<head> 3<title>javax.management.timer package</title> 4<!-- 5Copyright (c) 1999, 2003, Oracle and/or its affiliates. All rights reserved. 6DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 7 8This code is free software; you can redistribute it and/or modify it 9under the terms of the GNU General Public License version 2 only, as 10published by the Free Software Foundation. Oracle designates this 11particular file as subject to the "Classpath" exception as provided 12by Oracle in the LICENSE file that accompanied this code. 13 14This code is distributed in the hope that it will be useful, but WITHOUT 15ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 16FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 17version 2 for more details (a copy is included in the LICENSE file that 18accompanied this code). 19 20You should have received a copy of the GNU General Public License version 212 along with this work; if not, write to the Free Software Foundation, 22Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 23 24Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 25or visit www.oracle.com if you need additional information or have any 26questions. 27--> 28</head> 29<body bgcolor="white"> 30 31 <p>Provides the definition of the Timer MBean. A Timer MBean 32 maintains a list of scheduled notifications and, because it is a 33 {@link javax.management.NotificationBroadcaster 34 NotificationBroadcaster}, a list of listeners for those 35 notifications. Whenever the time for one of the scheduled 36 notifications is reached, each listener receives the 37 notification. Notifications can be repeated at a fixed 38 interval, and the number of repetitions can be bounded.</p> 39 40 <p>A listener for a Timer MBean can itself be an MBean, using 41 the method {@link 42 javax.management.MBeanServer#addNotificationListener(ObjectName, 43 ObjectName, NotificationFilter, Object)}. In this way, a 44 management application can create an MBean representing a task, 45 then schedule that task using a Timer MBean.</p> 46 47 @since 1.5 48 49</BODY> 50</HTML> 51