Class EventMonitorBase
- java.lang.Object
-
- org.duracloud.account.db.util.sys.impl.EventMonitorBase
-
- All Implemented Interfaces:
EventMonitor
- Direct Known Subclasses:
SystemMonitorImpl
public abstract class EventMonitorBase extends Object implements EventMonitor
- Author:
- Andrew Woods Date: 3/22/11
-
-
Constructor Summary
Constructors Constructor Description EventMonitorBase(NotificationMgr notificationMgr)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaccountCreated(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)This method defines the contract for receiving notification of the 'account-creation' event.protected abstract StringbuildBody(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)protected abstract String[]buildRecipients()protected abstract StringbuildSubj(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)
-
-
-
Constructor Detail
-
EventMonitorBase
public EventMonitorBase(NotificationMgr notificationMgr)
-
-
Method Detail
-
accountCreated
public void accountCreated(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)
Description copied from interface:EventMonitorThis method defines the contract for receiving notification of the 'account-creation' event.- Specified by:
accountCreatedin interfaceEventMonitor- Parameters:
acctInfo- of new account
-
buildSubj
protected abstract String buildSubj(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)
-
buildBody
protected abstract String buildBody(org.duracloud.account.db.model.util.AccountCreationInfo acctInfo)
-
buildRecipients
protected abstract String[] buildRecipients()
-
-