org.embl.ebi.escience.scuflui.actions
Class ProcessorActionRegistry

java.lang.Object
  extended by org.embl.ebi.escience.utils.TavernaSPIRegistry<ProcessorActionSPI>
      extended by org.embl.ebi.escience.scuflui.actions.ProcessorActionRegistry

public class ProcessorActionRegistry
extends TavernaSPIRegistry<ProcessorActionSPI>

Registry containing all registered ProcessorActionSPI implementations

Author:
Tom Oinn, Stuart Owen

Method Summary
 java.util.List<ProcessorActionSPI> getActions(Processor processor)
          Return a List containing all instances of the ProcessorActionSPI which think they can operate on the specified processor
 java.util.List getAllActions()
          Get all registered ProcessorActionSPI instances
static ProcessorActionRegistry instance()
          Return a static instance of the registry loaded with all available instances of the ProcessorActionSPI
 
Methods inherited from class org.embl.ebi.escience.utils.TavernaSPIRegistry
addRegistryListener, getRepository, setRepository
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static ProcessorActionRegistry instance()
Return a static instance of the registry loaded with all available instances of the ProcessorActionSPI


getActions

public java.util.List<ProcessorActionSPI> getActions(Processor processor)
Return a List containing all instances of the ProcessorActionSPI which think they can operate on the specified processor


getAllActions

public java.util.List getAllActions()
Get all registered ProcessorActionSPI instances