Package org.ametys.cms.indexing.solr
Class AdditionalPropertyIndexerExtensionPoint
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<AdditionalPropertyIndexer>
-
- org.ametys.cms.indexing.solr.AdditionalPropertyIndexerExtensionPoint
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<AdditionalPropertyIndexer>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class AdditionalPropertyIndexerExtensionPoint extends AbstractThreadSafeComponentExtensionPoint<AdditionalPropertyIndexer>
ExtensionPoint
for registeringAdditionalPropertyIndexer
s.
-
-
Field Summary
Fields Modifier and Type Field Description private Multimap<String,AdditionalPropertyIndexer>
_extensionsByType
static String
ROLE
The extension point role.-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description AdditionalPropertyIndexerExtensionPoint()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<AdditionalPropertyIndexer>
getIndexers(String type)
Get the additional property indexers for the given type.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.-
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 Detail
-
_extensionsByType
private Multimap<String,AdditionalPropertyIndexer> _extensionsByType
-
-
Constructor Detail
-
AdditionalPropertyIndexerExtensionPoint
public AdditionalPropertyIndexerExtensionPoint()
-
-
Method Detail
-
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<AdditionalPropertyIndexer>
- Overrides:
initializeExtensions
in classAbstractThreadSafeComponentExtensionPoint<AdditionalPropertyIndexer>
- Throws:
Exception
- if something wrong occurs
-
getIndexers
public Collection<AdditionalPropertyIndexer> getIndexers(String type)
Get the additional property indexers for the given type.- Parameters:
type
- The type.- Returns:
- The additional property indexers for the given type.
-
-