You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by oa...@apache.org on 2001/12/19 17:21:28 UTC
cvs commit: jakarta-commons-sandbox/services/src/java/org/apache/commons/services Event.java
oalexeev 01/12/19 08:21:28
Modified: services/src/java/org/apache/commons/services Event.java
Log:
Add link to EventRegistration
Revision Changes Path
1.2 +16 -1 jakarta-commons-sandbox/services/src/java/org/apache/commons/services/Event.java
Index: Event.java
===================================================================
RCS file: /home/cvs/jakarta-commons-sandbox/services/src/java/org/apache/commons/services/Event.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Event.java 2001/12/17 16:38:18 1.1
+++ Event.java 2001/12/19 16:21:28 1.2
@@ -10,9 +10,24 @@
/** Base class for all Events.
*
- * @version $Id: Event.java,v 1.1 2001/12/17 16:38:18 oalexeev Exp $
+ * @version $Id: Event.java,v 1.2 2001/12/19 16:21:28 oalexeev Exp $
* @author Oleg V Alexeev
*/
public class Event extends Leaf {
+
+ protected EventRegistration eventRegistration = null;
+
+ public EventRegistration getEventRegistration() {
+ return eventRegistration;
+ }
+
+ public void setEventRegistration( EventRegistration eventRegistration ) {
+ this.eventRegistration = eventRegistration;
+ }
+
+ public void destroy() {
+ super.destroy();
+ eventRegistration = null;
+ }
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>