org.outerj.daisy.publisher.serverimpl
Class CommonPublisher

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.outerj.daisy.publisher.serverimpl.CommonPublisher
All Implemented Interfaces:
org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable

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

This component provides no services of its own, but registers an extension called "Publisher" with the repository.


Constructor Summary
CommonPublisher()
           
 
Method Summary
 PublisherRequest buildPublisherRequest(org.outerx.daisy.x10Publisher.PublisherRequestDocument publisherRequestDocument)
           
 void configure(org.apache.avalon.framework.configuration.Configuration configuration)
           
 void initialize()
           
 PublisherRequest lookupPublisherRequest(java.lang.String pubReqSetName, org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Version version)
           
 void service(org.apache.avalon.framework.service.ServiceManager serviceManager)
           
 
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

CommonPublisher

public CommonPublisher()
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

initialize

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

buildPublisherRequest

public PublisherRequest buildPublisherRequest(org.outerx.daisy.x10Publisher.PublisherRequestDocument publisherRequestDocument)
                                       throws org.outerj.daisy.publisher.PublisherException,
                                              org.xml.sax.SAXException,
                                              org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.publisher.PublisherException
org.xml.sax.SAXException
org.outerj.daisy.repository.RepositoryException

lookupPublisherRequest

public PublisherRequest lookupPublisherRequest(java.lang.String pubReqSetName,
                                               org.outerj.daisy.repository.Document document,
                                               org.outerj.daisy.repository.Version version)
                                        throws org.outerj.daisy.publisher.PublisherException,
                                               org.xml.sax.SAXException,
                                               org.outerj.daisy.repository.RepositoryException
Throws:
org.outerj.daisy.publisher.PublisherException
org.xml.sax.SAXException
org.outerj.daisy.repository.RepositoryException


Copyright © -2012 . All Rights Reserved.