org.ametys.plugins.datainclusion.data
Class DataSourceFactoryExtensionPoint
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<DataSourceFactory>
org.ametys.plugins.datainclusion.data.DataSourceFactoryExtensionPoint
- All Implemented Interfaces:
- org.ametys.runtime.plugin.ExtensionPoint<DataSourceFactory>, org.apache.avalon.framework.activity.Disposable, org.apache.avalon.framework.activity.Initializable, org.apache.avalon.framework.component.Component, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.framework.service.Serviceable, org.apache.avalon.framework.thread.ThreadSafe
public class DataSourceFactoryExtensionPoint
- extends org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<DataSourceFactory>
Extension point for DataSource factories.
| Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint |
_cocoonManager, _context, _manager |
| Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint |
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions, service |
| 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 |
ROLE
public static final String ROLE
- The Avalon role.
DataSourceFactoryExtensionPoint
public DataSourceFactoryExtensionPoint()
getAllTypes
public Collection<String> getAllTypes()
- Get all types handled by the various declared factories.
- Returns:
- the types as a Collection.
getFactory
public DataSourceFactory getFactory(String type)
- Get the factory handling the specified type.
- Parameters:
type - the data source type.
- Returns:
- the DataSourceFactory handling the specified type, null if no factory handles this type.
Copyright © 2010 Anyware Services. All Rights Reserved.