RecoveryResourceRegistry recoveryResourceRegistry;
public void postConstruct() {
if (!ejbContainerUtil.isDas()) {
if (gmsAdapterService != null) {
GMSAdapter gmsAdapter = gmsAdapterService.getGMSAdapter();
if (gmsAdapter != null) {
// We only register interest in the Planned Shutdown event here.
// Because of the dependency between transaction recovery and
// timer migration, the timer migration operation during an
// unexpected failure is initiated by the transaction recovery
// subsystem.
gmsAdapter.registerPlannedShutdownListener(this);
}
}
// Do DB read before timeout in a cluster
setPerformDBReadBeforeTimeout(true);