org.opennms.netmgt.ackd.readers
Class JavaMailAckReaderImpl

java.lang.Object
  extended by org.opennms.netmgt.ackd.readers.JavaMailAckReaderImpl
All Implemented Interfaces:
AckReader, org.springframework.beans.factory.InitializingBean

public class JavaMailAckReaderImpl
extends Object
implements AckReader, org.springframework.beans.factory.InitializingBean

Acknowledgment Reader implementation using Java Mail DONE: Identify acknowledgments for sent notifications DONE: Identify acknowledgments for alarm IDs (how the send knows the ID, good question) DONE: Persist acknowledgments DONE: Identify escalation reply DONE: Identify clear reply DOND: Identify unacknowledged reply DONE: Formalize Acknowledgment parameters (ack-type, id) DONE: JavaMail configuration factory DONE: Ackd configuration factory TODO: Associate email replies with openNMS user TODO: Finish scheduling component of JavaAckReader TODO: Configurable Schedule DONE: Identify Java Mail configuration element to use for reading replies TODO: Migrate JavaMailNotificationStrategy to new JavaMail Configuration and JavaSendMailer TODO: Migrate Availability Reports send via JavaMail to new JavaMail Configuration and JavaSendMailer TODO: Move reading email messages from MTM and this class to JavaReadMailer class TODO: Do some proper logging

Author:
David Hustace

Constructor Summary
JavaMailAckReaderImpl()
           
 
Method Summary
 void afterPropertiesSet()
           
 PausibleScheduledThreadPoolExecutor getExecutor()
           
 int getStatus()
           
 void pause()
           
 void resume()
           
 void setExecutor(PausibleScheduledThreadPoolExecutor executor)
           
 void setReaderSchedule(org.opennms.netmgt.ackd.readers.ReaderSchedule schedule)
           
 void setStatus(int status)
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaMailAckReaderImpl

public JavaMailAckReaderImpl()
Method Detail

start

public void start()
Specified by:
start in interface AckReader

pause

public void pause()
Specified by:
pause in interface AckReader

resume

public void resume()
Specified by:
resume in interface AckReader

stop

public void stop()
Specified by:
stop in interface AckReader

setReaderSchedule

public void setReaderSchedule(org.opennms.netmgt.ackd.readers.ReaderSchedule schedule)

getStatus

public int getStatus()

setStatus

public void setStatus(int status)

getExecutor

public PausibleScheduledThreadPoolExecutor getExecutor()

setExecutor

public void setExecutor(PausibleScheduledThreadPoolExecutor executor)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 2009. All Rights Reserved.