Class DataSourceFactoryExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<DataSourceFactory>
org.ametys.plugins.externaldata.data.DataSourceFactoryExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<DataSourceFactory>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class DataSourceFactoryExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<DataSourceFactory>
Extension point for DataSource factories.
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet all types handled by the various declared factories.Get the factory handling the specified type.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.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The Avalon role.
-
-
Constructor Details
-
DataSourceFactoryExtensionPoint
public DataSourceFactoryExtensionPoint()
-
-
Method Details
-
getAllTypes
Get all types handled by the various declared factories.- Returns:
- the types as a Collection.
-
getFactory
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.
-