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
FieldsFields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(Configuration configuration) protected ConfigurationGet the component configuration as a Configuration object.voidFinalize the initialization of the extensions.
This method is called after alladdExtension()calls.
This is the last step before the actual startup of the application.voidservice(ServiceManager serviceManager) voidtoSAX(ContentHandler handler) SAX all the input data.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, deferredInitializeExtensions, dispose, getExtension, getExtensionsIds, hasExtension, initializeMethods 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:
servicein interfaceServiceable- Overrides:
servicein classAbstractThreadSafeComponentExtensionPoint<ContentInputData>- Throws:
ServiceException
-
configure
- Specified by:
configurein interfaceConfigurable- Throws:
ConfigurationException
-
initializeExtensions
Description copied from interface:ExtensionPointFinalize 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:
initializeExtensionsin interfaceExtensionPoint<ContentInputData>- Overrides:
initializeExtensionsin 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
-