Class TaskIndexEngineFactory

java.lang.Object
com.webmethods.portal.service.task.TaskIndexEngineFactory

public class TaskIndexEngineFactory extends Object
Factory, which purpose is to serve registered task index engines in the MWS runtime.
  • Method Details

    • getInstance

      public static TaskIndexEngineFactory getInstance()
      Returns:
      the one and only instance of this factory
    • getIndexEngineManager

      public <T extends ITaskIndexManager> T getIndexEngineManager(Class<T> engineType) throws PortalException
      Retrieves an index engine manager, registered as an OSGi service or as a Java service.
      Type Parameters:
      T - - the index engine implementation
      Parameters:
      engineType - - the index engine type class
      Returns:
      the found engine manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs
    • getIndexEngineManager

      public ITaskIndexManager<?> getIndexEngineManager(IndexEngineType engineType) throws PortalException
      Retrieves an index engine manager, registered as an OSGi service or as a Java service.
      Parameters:
      engineType - - the index engine type, DB or HPSTRA
      Returns:
      the found engine manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs
    • getIndexEngineManager

      public ITaskIndexManager<?> getIndexEngineManager(String engineType) throws PortalException
      Retrieves an index engine manager, registered as an OSGi service or as a Java service.
      Parameters:
      engineType - - the index engine type, DB or HPSTRA
      Returns:
      the found engine manager
      Throws:
      PortalException - if the specified manager cannot be found or any other exception occurs