[jboss-cvs] JBossAS SVN: r102663 - projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Sat Mar 20 04:28:47 EDT 2010
Author: jaikiran
Date: 2010-03-20 04:28:47 -0400 (Sat, 20 Mar 2010)
New Revision: 102663
Modified:
projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/TimerService.java
Log:
JBEE-41 Fixed the TimerService API which was failing the signature tests
Modified: projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/TimerService.java
===================================================================
--- projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/TimerService.java 2010-03-20 07:11:52 UTC (rev 102662)
+++ projects/specs/trunk/jboss-ejb-api_3.1_spec/src/main/java/javax/ejb/TimerService.java 2010-03-20 08:28:47 UTC (rev 102663)
@@ -32,6 +32,7 @@
* a specified time, after a specified elapsed time, or after a specified interval.
**/
public interface TimerService {
+
/**
* Create a calendar-based timer based on the input schedule expression.
*
@@ -51,23 +52,6 @@
* Create a calendar-based timer based on the input schedule expression.
*
* @param schedule A schedule expression describing the timeouts for this timer.
- * @param info Application information to be delivered along with the timer
- * expiration. This can be null.
- * @return The newly created Timer.
- * @throws IllegalArgumentException If Schedule represents an invalid schedule
- * expression.
- * @throws IllegalStateException If this method is invoked while the instance
- * is in a state that does not allow access to this method.
- * @throws EJBException If this method could not complete due to a system-level failure.
- * @since 3.1
- */
- Timer createCalendarTimer(ScheduleExpression schedule, Serializable info)
- throws IllegalArgumentException, IllegalStateException, EJBException;
-
- /**
- * Create a calendar-based timer based on the input schedule expression.
- *
- * @param schedule A schedule expression describing the timeouts for this timer.
* @param timerConfig Timer configuration.
* @return The newly created Timer.
* @throws IllegalArgumentException If Schedule represents an invalid schedule
@@ -282,7 +266,7 @@
* a state that does not allow access to this method.
* @throws EJBException If this method could not complete due to a system-level failure.
**/
- public Collection getTimers()
+ public Collection<Timer> getTimers()
throws
IllegalStateException,
EJBException;
More information about the jboss-cvs-commits
mailing list