Class FormQuestionTypeExtensionPoint
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<FormQuestionType>
org.ametys.plugins.forms.question.FormQuestionTypeExtensionPoint
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<FormQuestionType>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class FormQuestionTypeExtensionPoint
extends AbstractThreadSafeComponentExtensionPoint<FormQuestionType>
Extension point for questions types
-
Field Summary
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the content of the questions XSLT filevoid
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.Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, service
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Field Details
-
ROLE
The form question type extension point role
-
-
Constructor Details
-
FormQuestionTypeExtensionPoint
public FormQuestionTypeExtensionPoint()
-
-
Method Details
-
getQuestions2htmlXSLT
Get the content of the questions XSLT file- Returns:
- A valid XSLT file content
-
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<FormQuestionType>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<FormQuestionType>
- Throws:
Exception
- if something wrong occurs
-