at.ac.tuwien.infosys.sm4all.copal.api.util
Interface RegistryObserver<T>

Type Parameters:
T - the type of registered objects.
All Superinterfaces:
Observer<RegistrationState,T>
All Known Implementing Classes:
BaseProcessor, BasePublisher, EsperPublishing, RESTfulPublisher, XMLEventNotifier

public interface RegistryObserver<T>
extends Observer<RegistrationState,T>

Interface to be implemented by observers which are interested on notifications of BaseRegistry changes.

Author:
sanjin

Method Summary
 void update(RegistrationState state, T object)
          Called when specified objects changes its RegistrationState with a BaseRegistry.
 

Method Detail

update

void update(RegistrationState state,
            T object)
Called when specified objects changes its RegistrationState with a BaseRegistry.

Specified by:
update in interface Observer<RegistrationState,T>
Parameters:
state - the RegistrationState.
object - the changed object.


Copyright © 2010 Distributed Systems Group, Vienna University of Technology. All Rights Reserved.