Package org.ametys.odf.inputdata
Class ContentInputDataExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<ContentInputData>
org.ametys.odf.inputdata.ContentInputDataExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<ContentInputData>
,Disposable
,Initializable
,Component
,Configurable
,Contextualizable
,Serviceable
,ThreadSafe
public class ContentInputDataExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<ContentInputData>
implements Configurable
This
ExtensionPoint
handles the pool of available ContentInputData
.-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) protected Configuration
Get the component configuration as a Configuration object.void
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.void
service
(ServiceManager serviceManager) void
toSAX
(ContentHandler handler) SAX all the input data.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
Avalon role
-
-
Constructor Details
-
ContentInputDataExtensionPoint
public ContentInputDataExtensionPoint()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractThreadSafeComponentExtensionPoint<ContentInputData>
- Throws:
ServiceException
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
initializeExtensions
Description copied from interface:ExtensionPoint
Finalize the initialization of the extensions.
This method is called after alladdExtension()
calls.
This is the last step before the actual startup of the application.- Specified by:
initializeExtensions
in interfaceExtensionPoint<ContentInputData>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<ContentInputData>
- Throws:
Exception
- if something wrong occurs
-
toSAX
SAX all the input data.- Parameters:
handler
- the content handler to SAX into.- Throws:
SAXException
- if an error occurs while SAXing.ProcessingException
- if an error occurs while processing.
-
getExternalConfiguration
Get the component configuration as a Configuration object.- Returns:
- the component Configuration.
- Throws:
ConfigurationException
- if an error occurs
-