Class ActionService
- java.lang.Object
-
- fr.ens.biologie.genomique.kenetre.util.ServiceNameLoader<Action>
-
- fr.ens.biologie.genomique.eoulsan.actions.ActionService
-
public class ActionService extends fr.ens.biologie.genomique.kenetre.util.ServiceNameLoader<Action>
This class define a service to retrieve an Action- Since:
- 1.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ActionService()
Private constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
accept(Class<?> clazz)
List<Action>
getActions()
Get the list of actions available.static ActionService
getInstance()
Retrieve the singleton static instance of an ActionService.protected String
getMethodName()
-
Methods inherited from class fr.ens.biologie.genomique.kenetre.util.ServiceNameLoader
addClassesToNotLoad, addClassToNotLoad, clearClassesToNotLoad, getClassesToNotLoad, getServiceClasses, isCache, isService, isServiceNameCaseSensible, newService, newServices, reload, removeClassesToNotLoad, removeClassToNotLoad
-
-
-
-
Method Detail
-
getInstance
public static ActionService getInstance()
Retrieve the singleton static instance of an ActionService.- Returns:
- A ActionService instance
-
accept
protected boolean accept(Class<?> clazz)
- Specified by:
accept
in classfr.ens.biologie.genomique.kenetre.util.ServiceNameLoader<Action>
-
getMethodName
protected String getMethodName()
- Specified by:
getMethodName
in classfr.ens.biologie.genomique.kenetre.util.ServiceNameLoader<Action>
-
-