KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > mule > umo > space > UMOSpaceEvent


1 /*
2  * $Id: UMOSpaceEvent.java 3865 2006-11-09 17:11:08Z Lajos $
3  * --------------------------------------------------------------------------------------
4  * Copyright (c) MuleSource, Inc. All rights reserved. http://www.mulesource.com
5  *
6  * The software in this package is published under the terms of the MuleSource MPL
7  * license, a copy of which has been included with this distribution in the
8  * LICENSE.txt file.
9  */

10
11 package org.mule.umo.space;
12
13 import java.util.EventObject JavaDoc;
14
15 /**
16  * A space event occurs when an item is added to the sapce and there is a one or more
17  * listeners waiting for it.
18  */

19 public class UMOSpaceEvent extends EventObject JavaDoc
20 {
21     /**
22      * Serial version
23      */

24     private static final long serialVersionUID = 4575516735778744922L;
25
26     private final UMOSpace space;
27
28     public UMOSpaceEvent(Object JavaDoc item, UMOSpace space)
29     {
30         super(item);
31         this.space = space;
32     }
33
34     public UMOSpace getSpace()
35     {
36         return space;
37     }
38 }
39
Popular Tags