org.ow2.jonas.ejb.internal.delegate
Class JTimerHandleDelegate

java.lang.Object
  extended by org.ow2.jonas.ejb.internal.delegate.JTimerHandleDelegate
All Implemented Interfaces:
org.ow2.jonas.ejb.TimerHandleDelegate, org.ow2.jonas.naming.JComponentContextFactoryDelegate

public class JTimerHandleDelegate
extends Object
implements org.ow2.jonas.ejb.TimerHandleDelegate, org.ow2.jonas.naming.JComponentContextFactoryDelegate

Implementation for TimerHandleDelegate Must be added to JComponentContextFactory by addDelegate().

Author:
durieuxp

Constructor Summary
JTimerHandleDelegate()
           
 
Method Summary
 Timer getTimer(org.ow2.jonas.ejb.JTimerHandleInfo info)
          Retrieve the Timer in the ejbService
 void modify(Context componentContext)
          called back from ccf.addDelegate
 Timer restartTimer(org.ow2.jonas.ejb.JTimerHandleInfo info)
          Retrieve the Timer in the ejbService and restart it.
 void setEJBService(org.ow2.jonas.ejb.EJBService ejbserv)
           
 void undo(Context componentContext)
          called back from ccf.removeDelegate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTimerHandleDelegate

public JTimerHandleDelegate()
Method Detail

setEJBService

public void setEJBService(org.ow2.jonas.ejb.EJBService ejbserv)

getTimer

public Timer getTimer(org.ow2.jonas.ejb.JTimerHandleInfo info)
Retrieve the Timer in the ejbService

Specified by:
getTimer in interface org.ow2.jonas.ejb.TimerHandleDelegate

restartTimer

public Timer restartTimer(org.ow2.jonas.ejb.JTimerHandleInfo info)
Retrieve the Timer in the ejbService and restart it.

Specified by:
restartTimer in interface org.ow2.jonas.ejb.TimerHandleDelegate

modify

public void modify(Context componentContext)
            throws NamingException
called back from ccf.addDelegate

Specified by:
modify in interface org.ow2.jonas.naming.JComponentContextFactoryDelegate
Throws:
NamingException

undo

public void undo(Context componentContext)
          throws NamingException
called back from ccf.removeDelegate

Specified by:
undo in interface org.ow2.jonas.naming.JComponentContextFactoryDelegate
Throws:
NamingException


Copyright © 2008 OW2 Consortium. All Rights Reserved.