public interface ITaskVotingStrategyManagerFactory
Modifier and Type | Method and Description |
---|---|
<T extends ITaskVotingStrategyManager> |
getTaskVotingStrategyManager(Class<T> engineType)
Retrieves an voting strategy manager, registered as an OSGi service or as a Java
service.
|
ITaskVotingStrategyManager |
getTaskVotingStrategyManager(IndexEngineType engineType)
Retrieves an voting strategy manager, registered as an OSGi service or as a Java
service.
|
ITaskVotingStrategyManager |
getTaskVotingStrategyManager(String engineType)
Retrieves an voting strategy manager, registered as an OSGi service or as a Java
service.
|
<T extends ITaskVotingStrategyManager> T getTaskVotingStrategyManager(Class<T> engineType) throws PortalException
T
- - the voting strategy manager implementationengineType
- - the voting strategy manager type classPortalException
- if the specified manager cannot be found or any other exception occursITaskVotingStrategyManager getTaskVotingStrategyManager(IndexEngineType engineType) throws PortalException
engineType
- - the voting strategy manager type, DB or HPSTRAPortalException
- if the specified manager cannot be found or any other exception occursITaskVotingStrategyManager getTaskVotingStrategyManager(String engineType) throws PortalException
engineType
- - the voting strategy manager type, DB or HPSTRAPortalException
- if the specified manager cannot be found or any other exception occurs