1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package net.sf.nxqd.event;
17
18 import java.util.logging.Level;
19 import java.util.logging.Logger;
20 import java.util.ArrayList;
21 import java.util.List;
22 import java.util.Map;
23
24 import net.sf.nxqd.common.NxqdUtils;
25
26 /**
27 *
28 * @author <a href="mailto:webhiker@sourceforge.net">webhiker</a>
29 * @version 1.0
30 */
31 public interface NxqdContainerEventListener extends NxqdEventListener {
32
33 /**
34 * The <code>handleResourceCreated</code> method is called when a container
35 * reports a resource has been created.
36 *
37 * @param container a <code>String</code> the name of the container containing the
38 * resource which was created
39 * @param id a <code>String</code> value indicating the resource identifier.
40 */
41 public void handleResourceCreated(String container, String id);
42
43 /**
44 * The <code>handleResourceDeleted</code> method is called when a container
45 * reports a resource has been deleted.
46 *
47 * @param container a <code>String</code> the name of the container where the
48 * resource was deleted
49 * @param id a <code>String</code> value indicating the resource identifier.
50 */
51 public void handleResourceDeleted(String container, String id);
52
53 /**
54 * The <code>handleResourceUpdated</code> method is called when a container
55 * reports a resource has been updated.
56 *
57 * @param container a <code>String</code> the name of the container containing the
58 * resource which was updated
59 * @param id a <code>String</code> value indicating the resource identifier.
60 */
61 public void handleResourceUpdated(String container, String id);
62
63 }
64