|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.ejb.containers.EJBTimerService
public class EJBTimerService
| Constructor Summary | |
|---|---|
EJBTimerService(String appID,
TimerLocal timerLocal)
|
|
| Method Summary | |
|---|---|
void |
createSchedules(long containerId,
long applicationId,
Map<MethodDescriptor,List<ScheduledTimerDescriptor>> methodDescriptorSchedules,
String server_name)
Create automatic timers defined by the @Schedule annotation on the EJB bean during deployment to a cluster or the first create-application-ref call after deployment to DAS only. |
void |
destroyAllTimers(long applicationId)
Destroy all timers associated with a particular application. |
void |
destroyTimers(long containerId)
Destroy all timers associated with a particular ejb container This is typically called when an ejb is undeployed. |
String[] |
listTimers(String[] serverIds)
Provide a count of timers owned by each server |
int |
migrateTimers(String fromOwnerId)
Take ownership of another server's timers. |
void |
onShutdown()
Called from TimerBeanContainer |
boolean |
restoreEJBTimers()
Called at server startup *after* user apps have been re-activated to restart any active EJB timers. |
void |
setPerformDBReadBeforeTimeout(boolean defaultDBReadValue)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EJBTimerService(String appID,
TimerLocal timerLocal)
throws Exception
Exception| Method Detail |
|---|
public String[] listTimers(String[] serverIds)
public int migrateTimers(String fromOwnerId)
public void setPerformDBReadBeforeTimeout(boolean defaultDBReadValue)
public boolean restoreEJBTimers()
public void destroyTimers(long containerId)
public void destroyAllTimers(long applicationId)
public void createSchedules(long containerId,
long applicationId,
Map<MethodDescriptor,List<ScheduledTimerDescriptor>> methodDescriptorSchedules,
String server_name)
public void onShutdown()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||