de.innovationgate.wgpublisher
public class WGAAdminNotificationService extends Object implements WGAAwareService
Constructor and Description |
---|
WGAAdminNotificationService() |
Modifier and Type | Method and Description |
---|---|
WGAMailNotification |
createNotification()
Create a notification mail
|
void |
injectWGA(WGA wga)
Callback method by which the
WGA object is injected |
void |
send(WGAMailNotification mail)
Send a notification mail to the administrators of the OpenWGA runtime
|
public void injectWGA(WGA wga)
WGAAwareService
WGA
object is injectedinjectWGA
in interface WGAAwareService
wga
- The object used to instantiate the service via WGA.service(Class)
public WGAMailNotification createNotification() throws de.innovationgate.webgate.api.WGException
de.innovationgate.webgate.api.WGException
public void send(WGAMailNotification mail) throws de.innovationgate.webgate.api.WGException
mail
- The mail objectde.innovationgate.webgate.api.WGException