fr.paris.lutece.portal.service.search
Class QueryListenersService

java.lang.Object
  extended by fr.paris.lutece.portal.service.search.QueryListenersService

public final class QueryListenersService
extends java.lang.Object

QueryListenersService


Method Summary
static QueryListenersService getInstance()
          Returns the unique instance of the service
 void notifyListeners(QueryEvent event)
          Notify all registered listeners
 void registerQueryListener(QueryEventListener listener)
          Register a new listener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static QueryListenersService getInstance()
Returns the unique instance of the service

Returns:
The instance of the service

registerQueryListener

public void registerQueryListener(QueryEventListener listener)
Register a new listener

Parameters:
listener - The listener to register

notifyListeners

public void notifyListeners(QueryEvent event)
Notify all registered listeners

Parameters:
event - The query event to notify


Copyright © 2011 Mairie de Paris. All Rights Reserved.