|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.jonas.ejb2.internal.delegate.JTimerHandleDelegate
public class JTimerHandleDelegate
Implementation for TimerHandleDelegate Must be added to JComponentContextFactory by addDelegate().
| Constructor Summary | |
|---|---|
JTimerHandleDelegate()
|
|
| Method Summary | |
|---|---|
javax.ejb.Timer |
getTimer(JTimerHandleInfo info)
Retrieve the Timer in the EJBService. |
void |
modify(javax.naming.Context componentContext)
Add the TimerHandleDelegate into the ENC Context. |
javax.ejb.Timer |
restartTimer(JTimerHandleInfo info)
Retrieve the Timer in the EJBService and restart it. |
void |
setEJBService(EJBService ejbserv)
|
void |
undo(javax.naming.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 javax.ejb.Timer getTimer(JTimerHandleInfo info)
Timer in the EJBService.
getTimer in interface TimerHandleDelegateinfo - Timer informations
TimerHandleDelegate.getTimer(org.ow2.jonas.ejb2.JTimerHandleInfo)public javax.ejb.Timer restartTimer(JTimerHandleInfo info)
Timer in the EJBService and restart it.
restartTimer in interface TimerHandleDelegateinfo - Timer informations
TimerHandleDelegate.restartTimer(org.ow2.jonas.ejb2.JTimerHandleInfo)
public void modify(javax.naming.Context componentContext)
throws javax.naming.NamingException
TimerHandleDelegate into the ENC Context.
modify in interface JComponentContextFactoryDelegatecomponentContext - the ENC Context.
javax.naming.NamingException - if unable to bind java:comp/TimerHandleDelegateJComponentContextFactoryDelegate.modify(javax.naming.Context)
public void undo(javax.naming.Context componentContext)
throws javax.naming.NamingException
TimerHandleDelegate from the ENC Context.
undo in interface JComponentContextFactoryDelegatecomponentContext - the ENC Context.
javax.naming.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 | |||||||||