【Java开源代码栏目提醒】:网学会员,鉴于大家对Java开源代码十分关注,论文会员在此为大家搜集整理了“AuditEvent.java”一文,供大家参考学习!
package ejava.beansch7;
import java.util.EventObject;
/**
* This class creates AuditEvent
*/
public class AuditEvent extends EventObject
{
private String auditMessage;
/**
*Constructor with AuditBean as a parameter to provide the
* listeners information about Auditbean
*/
public AuditEvent(AuditBean source)
{
super(source);
}
public AuditEvent(AuditBean source, String message)
{
this(source);
auditMessage = message;
}
/**
* Get the Message for the Event
*/
public String getMessage()
{
return auditMessage;
}
}