1 package org.codehaus.xfire.service.event;
2
3
4 /***
5 * An object that registers to be notified of events generated by a <code>ServiceEndpointRegistry</code> object.
6 *
7 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a>
8 * @author <a href="mailto:poutsma@mac.com">Arjen Poutsma</a>
9 * @see RegistrationEvent
10 */
11 public interface RegistrationEventListener
12 {
13 /***
14 * Notifies this <code>RegistrationEventListener</code> that the <code>ServiceEndpointRegistry</code> has registered
15 * an endpoint.
16 *
17 * @param event an event object describing the source of the event
18 */
19 void endpointRegistered(RegistrationEvent event);
20
21 /***
22 * Notifies this <code>RegistrationEventListener</code> that the <code>ServiceEndpointRegistry</code> has
23 * deregistered an endpoint.
24 *
25 * @param event an event object describing the source of the event
26 */
27 void endpointUnregistered(RegistrationEvent event);
28 }