org.outerj.daisy.event
Class EventDispatcherImpl

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.outerj.daisy.event.EventDispatcherImpl
All Implemented Interfaces:
org.apache.avalon.framework.configuration.Configurable, EventDispatcher, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Startable

public class EventDispatcherImpl
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements EventDispatcher, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Startable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable


Constructor Summary
EventDispatcherImpl()
           
 
Method Summary
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void initialize()
           
 void notifyNewEvents()
          Notifies (wakes up) the event dispatcher that new events may be available.
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 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
 

Constructor Detail

EventDispatcherImpl

public EventDispatcherImpl()
Method Detail

service

public void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
             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

configure

public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
               throws org.apache.avalon.framework.configuration.ConfigurationException
Specified by:
configure in interface org.apache.avalon.framework.configuration.Configurable
Throws:
org.apache.avalon.framework.configuration.ConfigurationException

notifyNewEvents

public void notifyNewEvents()
Description copied from interface: EventDispatcher
Notifies (wakes up) the event dispatcher that new events may be available.

Specified by:
notifyNewEvents in interface EventDispatcher

initialize

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

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


Copyright © -2005 . All Rights Reserved.