org.outerj.daisy.emailer.serverimpl
Class EmailerHttpConnector

java.lang.Object
  extended by org.outerj.daisy.emailer.serverimpl.EmailerHttpConnector
All Implemented Interfaces:
org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable

public class EmailerHttpConnector
extends java.lang.Object
implements org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.logger.LogEnabled

Exposes the functionality of the Emailer via HTTP. This is done by registering an extra HttpHandler on the HttpConnector of the repository server.


Constructor Summary
EmailerHttpConnector()
           
 
Method Summary
 void dispose()
           
 void enableLogging(org.apache.avalon.framework.logger.Logger logger)
           
 void initialize()
           
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmailerHttpConnector

public EmailerHttpConnector()
Method Detail

enableLogging

public void enableLogging(org.apache.avalon.framework.logger.Logger logger)
Specified by:
enableLogging in interface org.apache.avalon.framework.logger.LogEnabled

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

initialize

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

dispose

public void dispose()
Specified by:
dispose in interface org.apache.avalon.framework.activity.Disposable


Copyright © -2012 . All Rights Reserved.