Class ScriptServiceFactory

java.lang.Object
org.dspace.scripts.factory.ScriptServiceFactory
Direct Known Subclasses:
ScriptServiceFactoryImpl

public abstract class ScriptServiceFactory extends Object
Abstract factory to get services for the Script workload, use ScriptServiceFactory.getInstance() to retrieve an implementation
  • Constructor Details

    • ScriptServiceFactory

      public ScriptServiceFactory()
  • Method Details

    • getScriptService

      public abstract ScriptService getScriptService()
      This method will return an instance of the ScriptService
      Returns:
      An instance of the ScriptService
    • getProcessService

      public abstract ProcessService getProcessService()
      This method will return an instance of the ProcessService
      Returns:
      An instance of the ProcessService
    • getInstance

      public static ScriptServiceFactory getInstance()
      Use this method to retrieve an implementation of the ScriptServiceFactory to use to retrieve the different beans
      Returns:
      An implementation of the ScriptServiceFactory