Interface ITaskVotingStrategyManagerFactory
public interface ITaskVotingStrategyManagerFactory
-
Method Summary
Modifier and TypeMethodDescriptiongetTaskVotingStrategyManager
(IndexEngineType engineType) Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.<T extends ITaskVotingStrategyManager>
TgetTaskVotingStrategyManager
(Class<T> engineType) Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.getTaskVotingStrategyManager
(String engineType) Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.
-
Method Details
-
getTaskVotingStrategyManager
<T extends ITaskVotingStrategyManager> T getTaskVotingStrategyManager(Class<T> engineType) throws PortalException Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.- Type Parameters:
T
- - the voting strategy manager implementation- Parameters:
engineType
- - the voting strategy manager type class- Returns:
- the found voting strategy manager
- Throws:
PortalException
- if the specified manager cannot be found or any other exception occurs
-
getTaskVotingStrategyManager
ITaskVotingStrategyManager getTaskVotingStrategyManager(IndexEngineType engineType) throws PortalException Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.- Parameters:
engineType
- - the voting strategy manager type, DB or HPSTRA- Returns:
- the found voting strategy manager
- Throws:
PortalException
- if the specified manager cannot be found or any other exception occurs
-
getTaskVotingStrategyManager
Retrieves an voting strategy manager, registered as an OSGi service or as a Java service.- Parameters:
engineType
- - the voting strategy manager type, DB or HPSTRA- Returns:
- the found voting strategy manager
- Throws:
PortalException
- if the specified manager cannot be found or any other exception occurs
-