XPlanner发送邮件通知补丁

XPlanner发送邮件通知补丁

这是我上次提的问题,没人解决只好自己解决了
http://www.hibernate.org.cn/viewtopic.php?t=18254&highlight= 

使用Hibenate的Inteceptor,监听对象变化发送邮件通知,也是Hibernate Inteceptor的一个应用
提供对"Task","UserStory","Iteration","Project","Integration"的邮件通知,测试通过版本xplanner-0.7b4

以下是对xplanner的更改:
xplanner更改:
com.technoetic.xplanner.mail.EmailMessageFactory: 增加默认构造函数
com.technoetic.xplanner.mail.EmailMessageImpl: 将发送邮件的contentType改为 text/html; gb2312
com.technoetic.xplanner.db.hibernate.XPlannerSessionFactory: 将openSession(XPlannerInteceptor)改成openSession(HibernateInterceptorImpl)
补丁:
patch.HibernateInterceptorImpl: 监听Entity的变化,对UserStory与Task等的变化进行邮件通知
需要设置属性:
xplanner.application.url=http://testmachine:7070/xplanner :邮件通知的链接地址
xplanner.mail.smtp.host=mainserver.listener.com.cn 邮件服务器主机地址

xplanner项目主页:
http://www.xplanner.org
源码下载:
http://fisheye.codehaus.org/viewrep/xplanner
补丁下载:
http://www.hibernate.org.cn/download.php?id=1642

你可能感兴趣的:(XPlanner发送邮件通知补丁)