org.zeroexchange.web.feedback
Class DefaultFeedbackSender
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultFeedbackSender
public DefaultFeedbackSender()
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.