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
ThisExtensionPoint
handles the pool of availableContentInputData
.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ROLE
Avalon role-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description ContentInputDataExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Configuration configuration)
protected Configuration
getExternalConfiguration()
Get the component configuration as a Configuration object.void
initializeExtensions()
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
-
-
-
-
Constructor Detail
-
ContentInputDataExtensionPoint
public ContentInputDataExtensionPoint()
-
-
Method Detail
-
service
public void service(ServiceManager serviceManager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractThreadSafeComponentExtensionPoint<ContentInputData>
- Throws:
ServiceException
-
configure
public void configure(Configuration configuration) throws ConfigurationException
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
initializeExtensions
public void initializeExtensions() throws Exception
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
public void toSAX(ContentHandler handler) throws SAXException, ProcessingException
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
protected Configuration getExternalConfiguration() throws ConfigurationException
Get the component configuration as a Configuration object.- Returns:
- the component Configuration.
- Throws:
ConfigurationException
- if an error occurs
-
-