Package org.dspace.scripts.factory
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 Summary
Constructors Constructor Description ScriptServiceFactory()
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static ScriptServiceFactorygetInstance()Use this method to retrieve an implementation of the ScriptServiceFactory to use to retrieve the different beansabstract ProcessServicegetProcessService()This method will return an instance of the ProcessServiceabstract ScriptServicegetScriptService()This method will return an instance of the ScriptService
-
-
-
Method Detail
-
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
-
-