org.ametys.plugins.datainclusion.data
Class DataSourceTypesGenerator

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.generation.AbstractGenerator
              extended by org.apache.cocoon.generation.ServiceableGenerator
                  extended by org.ametys.plugins.datainclusion.data.DataSourceTypesGenerator
All Implemented Interfaces:
Poolable, Recyclable, Disposable, Component, LogEnabled, Serviceable, Generator, SitemapModelComponent, XMLProducer

public class DataSourceTypesGenerator
extends ServiceableGenerator

Generates the list of all the data source/query types that can be handled.


Field Summary
protected  DataSourceFactoryExtensionPoint _dataSourceFactoryEP
          The DataSourceFactory extension point.
 
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager
 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.generation.Generator
ROLE
 
Constructor Summary
DataSourceTypesGenerator()
           
 
Method Summary
 void generate()
           
 void service(ServiceManager serviceManager)
           
 
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose
 
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
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.cocoon.xml.XMLProducer
setConsumer
 

Field Detail

_dataSourceFactoryEP

protected DataSourceFactoryExtensionPoint _dataSourceFactoryEP
The DataSourceFactory extension point.

Constructor Detail

DataSourceTypesGenerator

public DataSourceTypesGenerator()
Method Detail

service

public void service(ServiceManager serviceManager)
             throws ServiceException
Specified by:
service in interface Serviceable
Overrides:
service in class ServiceableGenerator
Throws:
ServiceException

generate

public void generate()
              throws IOException,
                     SAXException,
                     ProcessingException
Throws:
IOException
SAXException
ProcessingException


Copyright © 2010 Anyware Services. All Rights Reserved.