Class DatabaseEJBTimerService

    • Constructor Detail

      • DatabaseEJBTimerService

        public DatabaseEJBTimerService()
    • Method Detail

      • postConstruct

        public void postConstruct()
        Specified by:
        postConstruct in interface org.glassfish.hk2.api.PostConstruct
      • beforeRecovery

        public void beforeRecovery​(boolean delegated,
                                   String instance)
        Description copied from interface: RecoveryEventListener
        Indicate to the listener that recovery for a specific instance is about to start.
        Specified by:
        beforeRecovery in interface RecoveryEventListener
        Parameters:
        delegated - identifies whether it is part of a delegated transaction recovery
        instance - the instance name for which transaction recovery is performed, null if unknown
      • afterRecovery

        public void afterRecovery​(boolean success,
                                  boolean delegated,
                                  String instance)
        Description copied from interface: RecoveryEventListener
        Indicate to the listener that recovery is over.
        Specified by:
        afterRecovery in interface RecoveryEventListener
        Parameters:
        success - true if the recovery operation finished successfully
        delegated - identifies whether it is part of a delegated transaction recovery
        instance - the instance name for which transaction recovery is performed, null if unknown