01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package com.tctest.spring.bean;
05:
06: import org.springframework.context.ApplicationEvent;
07:
08: public abstract class SingletonEvent extends ApplicationEvent {
09: private final String message;
10:
11: public SingletonEvent(Object source, String message) {
12: super (source);
13: this .message = message;
14: }
15:
16: public String toString() {
17: return message + " " + source;
18: }
19: }
|