Package commonj.timers

This package has the timer related function.

See:
          Description

Interface Summary
CancelTimerListener This is implemented by developers that require a cancel event.
StopTimerListener Applications requiring timer stop events should have their timers implement this interface.
Timer An object implementing this interface is returned when an timer is created through one of the TimerManager.schedule methods.
TimerListener Objects that implement this interface and are supplied to one of the TimerManager#schedule methods can receieve timer notifications.
TimerManager The TimerManager is used to manager a set of logical timers.
 

Package commonj.timers Description

This package has the timer related function.

Required jars

The jar commonj-tm.jar contains these interfaces.

Timers

Both JavaTM 2 Standard Edition 1.3 (J2SE) and JavaTM 2 Enterprise Edition 1.4 (J2EE) provide a timer mechanism. The J2SE timer mechanism does not utilize Java interfaces and is very difficult to manage and extend from a J2EE perspective. The EJB 2.1 Timer service does not address transient timers and does not provide a way for Servlets to create persistent timers.

This package could form the basis of a generic timer service that is used by J2SE, and J2EE (servlets and EJBs). The timers created with this service are transient and have application scope (all components in an application can look it up in JNDI).

Copyright Notice

© Copyright BEA Systems, Inc. and International Business Machines Corp 2003. All rights reserved.

License

The Timer for Application Servers Specification is being provided by the copyright holders under the following license. By using and/or copying this work, you agree that you have read, understood and will comply with the following terms and conditions:

Permission to copy and display the Timer for Application Servers Specification and/or portions thereof, without modification, in any medium without fee or royalty is hereby granted, provided that you include the following on ALL copies of the Timer for Application Servers Specification, or portions thereof, that you make:

1.  A link or URL to the Timer for Application Servers Specification at this location: 

http://dev2dev.bea.com/technologies/commonj/index.jsp

or at this location:

http://www.ibm.com/developerworks/library/j-commonj-sdowmt/

2. The full text of this copyright notice as shown in the Timer for Application Servers Specification.

IBM and BEA (collectively, the “Authors”) agree to grant you a royalty-free license, under reasonable, non-discriminatory terms and conditions to patents that they deem necessary to implement the Timer for Application Servers Specification.

THE Timer for Application Servers SPECIFICATION IS PROVIDED "AS IS," AND THE AUTHORS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SPECIFICATION AND THE IMPLEMENTATION OF ITS CONTENTS, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT OR TITLE.

THE AUTHORS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO ANY USE OR DISTRIBUTION OF THE Timer for Application Servers SPECIFICATION.

The name and trademarks of the Authors may NOT be used in any manner, including advertising or publicity pertaining to the Timer for Application Servers Specification or its contents without specific, written prior permission. Title to copyright in the Timer for Application Servers Specification will at all times remain with the Authors.

No other rights are granted by implication, estoppel or otherwise.



Trademarks

Java and all Java-based trademarks are trademarks of Sun Microsystems, Inc. in the United States, other countries, or both.



Copyright BEA Systems, Inc. and International Business Machines Corp 2003. All rights reserved.