[jboss-cvs] jboss-ejb3/src/main/org/jboss/ejb3/timerservice ...
Carlo de Wolf
carlo at nerdnet.nl
Tue Jul 11 06:01:57 EDT 2006
User: wolfc
Date: 06/07/11 06:01:57
Modified: src/main/org/jboss/ejb3/timerservice PersistentTimer.java
Log:
EJBTHREE-613: working service container timeout
Revision Changes Path
1.2 +4 -2 jboss-ejb3/src/main/org/jboss/ejb3/timerservice/PersistentTimer.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: PersistentTimer.java
===================================================================
RCS file: /cvsroot/jboss/jboss-ejb3/src/main/org/jboss/ejb3/timerservice/PersistentTimer.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- PersistentTimer.java 26 Jun 2006 14:30:31 -0000 1.1
+++ PersistentTimer.java 11 Jul 2006 10:01:57 -0000 1.2
@@ -39,7 +39,7 @@
* This class contains all the info for find a persistent timer.
*
* @author <a href="mailto:carlo at nerdnet.nl">Carlo de Wolf</a>
- * @version $Revision: 1.1 $
+ * @version $Revision: 1.2 $
*/
public class PersistentTimer implements Serializable, TimerHandle
{
@@ -70,7 +70,9 @@
protected TimedObjectInvoker getTimedObjectInvoker()
{
// TODO: a hack to get back the container. This needs thinking.
- return (TimedObjectInvoker) Ejb3Registry.getContainer(objectName.getCanonicalName());
+ TimedObjectInvoker invoker = (TimedObjectInvoker) Ejb3Registry.getContainer(objectName.getCanonicalName());
+ assert invoker != null;
+ return invoker;
}
public Timer getTimer() throws IllegalStateException, NoSuchObjectLocalException, EJBException
More information about the jboss-cvs-commits
mailing list