|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ow2.jonas.ejb2.internal.delegate.JTimerHandleDelegate
public class JTimerHandleDelegate
Implementation for TimerHandleDelegate Must be added to JComponentContextFactory by addDelegate().
Constructor Summary | |
---|---|
JTimerHandleDelegate()
|
Method Summary | |
---|---|
Timer |
getTimer(JTimerHandleInfo info)
Retrieve the Timer in the EJBService . |
void |
modify(Context componentContext)
Add the TimerHandleDelegate into the ENC Context . |
Timer |
restartTimer(JTimerHandleInfo info)
Retrieve the Timer in the EJBService and restart it. |
void |
setEJBService(EJBService ejbserv)
|
void |
undo(Context componentContext)
Remove the TimerHandleDelegate from the ENC Context . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTimerHandleDelegate()
Method Detail |
---|
public void setEJBService(EJBService ejbserv)
ejbserv
- the EJBService
to use.public Timer getTimer(JTimerHandleInfo info)
Timer
in the EJBService
.
getTimer
in interface TimerHandleDelegate
info
- Timer informations
TimerHandleDelegate.getTimer(org.ow2.jonas.ejb2.JTimerHandleInfo)
public Timer restartTimer(JTimerHandleInfo info)
Timer
in the EJBService
and restart it.
restartTimer
in interface TimerHandleDelegate
info
- Timer informations
TimerHandleDelegate.restartTimer(org.ow2.jonas.ejb2.JTimerHandleInfo)
public void modify(Context componentContext) throws NamingException
TimerHandleDelegate
into the ENC Context
.
modify
in interface JComponentContextFactoryDelegate
componentContext
- the ENC Context
.
NamingException
- if unable to bind java:comp/TimerHandleDelegateJComponentContextFactoryDelegate.modify(javax.naming.Context)
public void undo(Context componentContext) throws NamingException
TimerHandleDelegate
from the ENC Context
.
undo
in interface JComponentContextFactoryDelegate
componentContext
- the ENC Context
.
NamingException
- if unable to unbind java:comp/TimerHandleDelegateJComponentContextFactoryDelegate.undo(javax.naming.Context)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |