at.ac.tuwien.infosys.sm4all.copal.api.helpers
Class AbstractContextListener

java.lang.Object
  extended by at.ac.tuwien.infosys.sm4all.copal.api.helpers.AbstractContextListener
All Implemented Interfaces:
ContextListener
Direct Known Subclasses:
RESTfulListener

public abstract class AbstractContextListener
extends Object
implements ContextListener

Helper class for ContextListeners.

Author:
sanjin

Constructor Summary
protected AbstractContextListener(String name)
          Use specified name as return value for getName() method.
 
Method Summary
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface at.ac.tuwien.infosys.sm4all.copal.api.ContextListener
onEvent
 

Constructor Detail

AbstractContextListener

protected AbstractContextListener(String name)
Use specified name as return value for getName() method.

Parameters:
name - the name of the context listener.
Method Detail

getName

public final String getName()
Specified by:
getName in interface ContextListener
Returns:
the globally unique name of the listener.


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