org.zeroexchange.web.feedback
Class DefaultFeedbackSender

java.lang.Object
  extended by org.zeroexchange.web.feedback.DefaultFeedbackSender
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, FeedbackSender

public class DefaultFeedbackSender
extends Object
implements FeedbackSender, org.springframework.beans.factory.InitializingBean

Author:
black

Constructor Summary
DefaultFeedbackSender()
           
 
Method Summary
 void afterPropertiesSet()
           
 void sendFeedback(String subject, String body, org.apache.wicket.Page targetPage)
          Sends the feedback.
 void setAdminMail(String adminMail)
           
 void setFrom(String from)
           
 void setSubject(String subject)
           
 void setTemplate(String template)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultFeedbackSender

public DefaultFeedbackSender()
Method Detail

setTemplate

public void setTemplate(String template)
Parameters:
template - the template to set

setFrom

public void setFrom(String from)
Parameters:
from - the from to set

setAdminMail

public void setAdminMail(String adminMail)
Parameters:
adminMail - the adminMail to set

setSubject

public void setSubject(String subject)
Parameters:
subject - the subject to set

sendFeedback

public void sendFeedback(String subject,
                         String body,
                         org.apache.wicket.Page targetPage)
Sends the feedback.

Specified by:
sendFeedback in interface FeedbackSender

afterPropertiesSet

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


Copyright © 2013. All Rights Reserved.