org.apache.lenya.cms.observation
Class AbstractRepositoryListener

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.observation.AbstractRepositoryListener
All Implemented Interfaces:
org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe, RepositoryListener

public abstract class AbstractRepositoryListener
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.thread.ThreadSafe, RepositoryListener

Abstract repository listener implementation which registeres with the observation registry at startup.


Field Summary
protected  org.apache.avalon.framework.service.ServiceManager manager
           
 
Constructor Summary
AbstractRepositoryListener()
           
 
Method Summary
 void service(org.apache.avalon.framework.service.ServiceManager manager)
           
 void start()
           
 void stop()
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.lenya.cms.observation.RepositoryListener
eventFired
 

Field Detail

manager

protected org.apache.avalon.framework.service.ServiceManager manager
Constructor Detail

AbstractRepositoryListener

public AbstractRepositoryListener()
Method Detail

start

public void start()
           throws java.lang.Exception
Specified by:
start in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception

stop

public void stop()
          throws java.lang.Exception
Specified by:
stop in interface org.apache.avalon.framework.activity.Startable
Throws:
java.lang.Exception

service

public void service(org.apache.avalon.framework.service.ServiceManager manager)
             throws org.apache.avalon.framework.service.ServiceException
Specified by:
service in interface org.apache.avalon.framework.service.Serviceable
Throws:
org.apache.avalon.framework.service.ServiceException


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.