org.openengsb.connector.email.internal
Class EmailNotifier

java.lang.Object
  extended by org.openengsb.core.common.AbstractOpenEngSBService
      extended by org.openengsb.core.common.AbstractOpenEngSBConnectorService
          extended by org.openengsb.connector.email.internal.EmailNotifier
All Implemented Interfaces:
org.openengsb.core.api.Connector, org.openengsb.core.api.Domain, org.openengsb.core.api.OpenEngSBService, org.openengsb.domain.notification.NotificationDomain

public class EmailNotifier
extends org.openengsb.core.common.AbstractOpenEngSBConnectorService
implements org.openengsb.domain.notification.NotificationDomain


Field Summary
 
Fields inherited from class org.openengsb.core.common.AbstractOpenEngSBConnectorService
batchEvent, connectorId, domainId
 
Fields inherited from class org.openengsb.core.common.AbstractOpenEngSBService
instanceId
 
Constructor Summary
EmailNotifier(String instanceId, MailAbstraction mailAbstraction)
           
 
Method Summary
 void createProperties()
           
 org.openengsb.core.api.AliveState getAliveState()
           
 MailProperties getProperties()
           
 org.osgi.framework.ServiceRegistration getServiceRegistration()
           
 void notify(org.openengsb.domain.notification.Notification notification)
           
 void setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)
           
 
Methods inherited from class org.openengsb.core.common.AbstractOpenEngSBConnectorService
addDeleteModelToBatch, addInsertModelToBatch, addUpdateModelToBatch, getConnectorId, getDomainId, initiateEDBBatch, sendEDBBatchEvent, sendEDBEvent, setConnectorId, setDomainId
 
Methods inherited from class org.openengsb.core.common.AbstractOpenEngSBService
getInstanceId, setInstanceId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.openengsb.core.api.OpenEngSBService
getInstanceId
 

Constructor Detail

EmailNotifier

public EmailNotifier(String instanceId,
                     MailAbstraction mailAbstraction)
Method Detail

notify

public void notify(org.openengsb.domain.notification.Notification notification)
Specified by:
notify in interface org.openengsb.domain.notification.NotificationDomain

getAliveState

public org.openengsb.core.api.AliveState getAliveState()
Specified by:
getAliveState in interface org.openengsb.core.api.Domain

getServiceRegistration

public org.osgi.framework.ServiceRegistration getServiceRegistration()

setServiceRegistration

public void setServiceRegistration(org.osgi.framework.ServiceRegistration serviceRegistration)

getProperties

public MailProperties getProperties()

createProperties

public void createProperties()


Copyright © 2009-2012. All Rights Reserved.