at.ac.tuwien.infosys.sm4all.copal.api.listener
Interface ContextListener

All Known Subinterfaces:
DeadLetterChannel
All Known Implementing Classes:
AnnotatedListener, BaseListener, DeadLetterChannelImpl, RESTfulListener

public interface ContextListener

Interface which listeners of ContextEvents have to implement.

Author:
fei, sanjin

Method Summary
 java.lang.String getName()
          Returns the globally unique name of this ContextListener.
 void onEvent(ContextEvent event)
          This method is called when a ContextEvent occurs for which this listener has been register to be notified.
 

Method Detail

getName

java.lang.String getName()
Returns the globally unique name of this ContextListener.

Returns:
the globally unique name of this ContextListener.

onEvent

void onEvent(ContextEvent event)
This method is called when a ContextEvent occurs for which this listener has been register to be notified.

Parameters:
event - the occurred ContextEvent.


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