nl.gx.webmanager.services.seo.eventhandler
Class FriendlyURLEventHandler

java.lang.Object
  extended by nl.gx.webmanager.services.seo.eventhandler.FriendlyURLEventHandler
All Implemented Interfaces:
EventHandler

public final class FriendlyURLEventHandler
extends java.lang.Object
implements EventHandler

Implementation of the friendly URL event handler. This event handler listen to events that imply that URLs must be removed or created in or from the friendly URL cache.

Author:
ivol, Sander Dahlberg

Constructor Summary
FriendlyURLEventHandler(SEOService seoService, EventManagerService eventManager)
          Constructor of the search engine handler.
 
Method Summary
 void onEvent(Event event)
          React on event notification.
 void subscribeEventHandler()
          Subscribes relevant event handlers.
 void unsubscribeEventHandler()
          Unsubscribes relevant event handlers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FriendlyURLEventHandler

public FriendlyURLEventHandler(SEOService seoService,
                               EventManagerService eventManager)
Constructor of the search engine handler.

Parameters:
seoService - Search Engine Optimization service.
eventManager - event manager to subscribe this handler to.
Method Detail

subscribeEventHandler

public void subscribeEventHandler()
Subscribes relevant event handlers.


unsubscribeEventHandler

public void unsubscribeEventHandler()
Unsubscribes relevant event handlers.


onEvent

public void onEvent(Event event)
React on event notification.

Specified by:
onEvent in interface EventHandler
Parameters:
event - event to react on.


Copyright © 2007-2011 GX Software BV. All Rights Reserved.