Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.embl.ebi.escience.scuflui.workbench
Interface ProcessorFactory  view ProcessorFactory download ProcessorFactory.java

All Known Implementing Classes:
SoaplabProcessorFactory, TalismanProcessorFactory, WorkflowProcessorFactory, WSDLBasedProcessorFactory

public interface ProcessorFactory

Implementing classes are capable of creating a new processor and attaching it to a model when supplied with the new processor name and a reference to the model. The intention is that service scavengers should create an implementation of this for each service they find and that these should then be used as the user objects inside a default tree model to allow simple service selection and addition to a ScuflModel


Method Summary
 void createProcessor(java.lang.String name, org.embl.ebi.escience.scufl.ScuflModel model)
          Instantiate a new processor with the given name and add it to the specified ScuflModel
 java.lang.Class getProcessorClass()
          Return the Class object describing the processor this factory would build
 java.lang.String getProcessorDescription()
          Describe the processor that would be created by this factory were the createProcessor method invoked
 

Method Detail

createProcessor

public void createProcessor(java.lang.String name,
                            org.embl.ebi.escience.scufl.ScuflModel model)
                     throws org.embl.ebi.escience.scufl.ProcessorCreationException,
                            org.embl.ebi.escience.scufl.DuplicateProcessorNameException
Instantiate a new processor with the given name and add it to the specified ScuflModel


getProcessorDescription

public java.lang.String getProcessorDescription()
Describe the processor that would be created by this factory were the createProcessor method invoked


getProcessorClass

public java.lang.Class getProcessorClass()
Return the Class object describing the processor this factory would build