public class TaskVotingStrategyManagerFactory extends Object
Modifier and Type | Method and Description |
---|---|
static TaskVotingStrategyManagerFactory |
getInstance() |
<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.
|
public static TaskVotingStrategyManagerFactory getInstance()
public <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 occurspublic ITaskVotingStrategyManager 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 occurspublic ITaskVotingStrategyManager 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