@Service public class DistributedEJBTimerService extends Object implements PersistentTimerService, RecoveryEventListener, org.glassfish.hk2.api.PostConstruct, com.sun.enterprise.ee.cms.core.CallBack
| Constructor and Description |
|---|
DistributedEJBTimerService() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRecovery(boolean success,
boolean delegated,
String instance)
Indicate to the listener that recovery is over.
|
void |
beforeRecovery(boolean delegated,
String instance)
Indicate to the listener that recovery for a specific instance is about to start.
|
void |
initPersistentTimerService(String target) |
void |
postConstruct() |
void |
processNotification(com.sun.enterprise.ee.cms.core.Signal signal) |
public void postConstruct()
postConstruct in interface org.glassfish.hk2.api.PostConstructpublic void initPersistentTimerService(String target)
initPersistentTimerService in interface PersistentTimerServicepublic void processNotification(com.sun.enterprise.ee.cms.core.Signal signal)
processNotification in interface com.sun.enterprise.ee.cms.core.CallBackpublic void beforeRecovery(boolean delegated,
String instance)
RecoveryEventListenerbeforeRecovery in interface RecoveryEventListenerdelegated - identifies whether it is part of a delegated transaction recoveryinstance - the instance name for which transaction recovery is performed, null if unknownpublic void afterRecovery(boolean success,
boolean delegated,
String instance)
RecoveryEventListenerafterRecovery in interface RecoveryEventListenersuccess - true if the recovery operation finished successfullydelegated - identifies whether it is part of a delegated transaction recoveryinstance - the instance name for which transaction recovery is performed, null if unknownCopyright © 2017. All rights reserved.