public class NotificationModule extends ListeningKernelModule implements BTHandlerI, DBManEventListenerI
STR_IF_POSSIBLE, STR_MANDATORY, STR_NEVERSAVE_RETRIES, SAVE_RETRY_DELAY_MS_MAX, SAVE_RETRY_DELAY_MS_MINENV_DAWN_MACHINE_ID| Constructor and Description |
|---|
NotificationModule(DBManLocalI dbm) |
NotificationModule(java.lang.String _nameForLog,
DBManLocalI dbm) |
| Modifier and Type | Method and Description |
|---|---|
void |
addClassesOfInterest(java.util.Set<java.lang.Class> classesOfInterest) |
void |
adjustRetryWVActiveState(boolean active) |
BTsHandler |
getBTsHandler() |
org.apache.log4j.Logger |
getLogger() |
org.bouncycastle.openpgp.PGPSecretKey |
getOpenPGPSecretKey()
Executed when a relevant
DBManBOChangeEvent is received. |
java.lang.String |
getShouldStartSetting(DBManConfigurationHelperI conf)
Retrieves and returns if this module should actually be started from the MyTISM configuration.
|
java.util.Date |
getStartingDateForChecks() |
java.lang.Integer |
getWantsEncryption() |
java.lang.Integer |
getWantsSignature() |
boolean |
handleBT(BT bt) |
boolean |
notifyAddress(MyTISMAdresse address,
MyTISMBenachrichtigung notification,
Transaction tx,
boolean isRetry) |
void |
processConfChangeEvent(ConfChangeEvent e)
Called when the MyTISM configuration was changed and if the setting for this module was modified either starts it
up or stops it depending on the new setting.
|
void |
retryFailedNotifications(java.lang.Long orderId)
Triggers retry of failed notifications for the
MyTISMBenachrichtigungsAuftrag with the given Id. |
void |
setBTsHandler(BTsHandler $110) |
void |
setOpenPGPSecretKey(org.bouncycastle.openpgp.PGPSecretKey $107) |
void |
setWantsEncryption(java.lang.Integer $108) |
void |
setWantsSignature(java.lang.Integer $109) |
decrementPending, featureBecameAvailable, featureNoLongerAvailable, getCPending, getEventFilter, getNameForLog, getPendingShowLimit, incrementPending, initialize, isActive, isMandatory, isOrWillBeInactive, isWanted, newThread, processDBManEvent, setActive, setCPending, setEventFilter, setNameForLog, setPendingShowLimit, shutdown, start, start, stop, stop, stopgetBOLoader, getConfiguration, getConnection, getDbm, getJDBCConnection, getNewCachingBOLoader, getNodeNumber, getSchema, getUser, isAuthoritativeSyncServer, isShutdown, loadBO, loadBO, query, query, query, query, query, query, query, query, query, query, runsAsUser, save, save, save, save, save, save, save, save, save, save, save, save, setDbm, setShutdown, setUser, shutdownequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitprocessDBManEventhandleSaveResultForRetrywantsConnectionsClosedgetDawnMachineID, getOriginHashpublic NotificationModule(DBManLocalI dbm)
public NotificationModule(java.lang.String _nameForLog,
DBManLocalI dbm)
public java.lang.String getShouldStartSetting(DBManConfigurationHelperI conf)
ListeningKernelModulegetShouldStartSetting in class ListeningKernelModulepublic org.apache.log4j.Logger getLogger()
getLogger in interface BTHandlerIpublic void processConfChangeEvent(ConfChangeEvent e)
ListeningKernelModuleprocessConfChangeEvent in interface ConfChangeEventListenerIprocessConfChangeEvent in class ListeningKernelModulee - The ConfChangeEvent object containing details of the configuration change.public void adjustRetryWVActiveState(boolean active)
public void retryFailedNotifications(java.lang.Long orderId)
MyTISMBenachrichtigungsAuftrag with the given Id.public boolean notifyAddress(MyTISMAdresse address, MyTISMBenachrichtigung notification, Transaction tx, boolean isRetry) throws NoHandlerAvailableException
NoHandlerAvailableExceptionpublic boolean handleBT(BT bt) throws java.lang.InterruptedException
handleBT in interface BTHandlerIjava.lang.InterruptedExceptionpublic java.util.Date getStartingDateForChecks()
getStartingDateForChecks in interface BTHandlerIpublic void addClassesOfInterest(java.util.Set<java.lang.Class> classesOfInterest)
addClassesOfInterest in interface BTHandlerIpublic org.bouncycastle.openpgp.PGPSecretKey getOpenPGPSecretKey()
DBManBOChangeEvent is received.public void setOpenPGPSecretKey(org.bouncycastle.openpgp.PGPSecretKey $107)
public java.lang.Integer getWantsEncryption()
public void setWantsEncryption(java.lang.Integer $108)
public java.lang.Integer getWantsSignature()
public void setWantsSignature(java.lang.Integer $109)
public BTsHandler getBTsHandler()
public void setBTsHandler(BTsHandler $110)
Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.