DLESE Tools
v1.6.0

org.dlese.dpc.schemedit.repository
Class RepositoryEventListener

java.lang.Object
  extended by org.dlese.dpc.schemedit.repository.RepositoryEventListener
All Implemented Interfaces:
EventListener, RepositoryEventListenerInterface
Direct Known Subclasses:
SmileEventListener

public class RepositoryEventListener
extends Object
implements RepositoryEventListenerInterface

A Simple, servletContext-aware, listener for RepositoryEvents that prints event info to the log

Author:
jonathan

Constructor Summary
RepositoryEventListener()
          Constructor for the RepositoryEventListener object
RepositoryEventListener(ServletContext servletContext)
          Constructor for the RepositoryEventListener object
 
Method Summary
 void handleEvent(RepositoryEvent repositoryEvent)
          Invoked when a repositoryEvent has occured.
 void setServletContext(ServletContext servletContext)
          Sets the servletContext attribute of the RepositoryEventListener object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryEventListener

public RepositoryEventListener()
Constructor for the RepositoryEventListener object


RepositoryEventListener

public RepositoryEventListener(ServletContext servletContext)
Constructor for the RepositoryEventListener object

Parameters:
servletContext - the servletContext
Method Detail

setServletContext

public void setServletContext(ServletContext servletContext)
Sets the servletContext attribute of the RepositoryEventListener object

Parameters:
servletContext - The new servletContext value

handleEvent

public void handleEvent(RepositoryEvent repositoryEvent)
Invoked when a repositoryEvent has occured.

Specified by:
handleEvent in interface RepositoryEventListenerInterface
Parameters:
repositoryEvent - Description of the Parameter

DLESE Tools
v1.6.0