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

Quick Search    Search Deep

org.embl.ebi.escience.scuflworkers.java
Class LocalServiceProcessorFactory  view LocalServiceProcessorFactory download LocalServiceProcessorFactory.java

java.lang.Object
  extended byorg.embl.ebi.escience.scuflworkers.java.LocalServiceProcessorFactory
All Implemented Interfaces:
org.embl.ebi.escience.scuflworkers.ProcessorFactory

public class LocalServiceProcessorFactory
extends java.lang.Object
implements org.embl.ebi.escience.scuflworkers.ProcessorFactory

Implementation of ProcessorFactory that can create LocalServiceProcessor instances


Field Summary
private  java.lang.String className
           
private  java.lang.String descriptiveName
           
 
Constructor Summary
LocalServiceProcessorFactory(java.lang.String workerClassName, java.lang.String descriptiveName)
          Create a new factory configured with the specified worker class.
 
Method Summary
 void createProcessor(java.lang.String name, org.embl.ebi.escience.scufl.ScuflModel model)
          Create a new processor and add to the model
 java.lang.Class getProcessorClass()
          Return the Class object for the processors that this factory creates
 java.lang.String getProcessorDescription()
          A description of the factory
 java.lang.String toString()
          Return a name
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

className

private java.lang.String className

descriptiveName

private java.lang.String descriptiveName
Constructor Detail

LocalServiceProcessorFactory

public LocalServiceProcessorFactory(java.lang.String workerClassName,
                                    java.lang.String descriptiveName)
Create a new factory configured with the specified worker class.

Method Detail

toString

public java.lang.String toString()
Return a name


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
Create a new processor and add to the model

Specified by:
createProcessor in interface org.embl.ebi.escience.scuflworkers.ProcessorFactory

getProcessorDescription

public java.lang.String getProcessorDescription()
A description of the factory

Specified by:
getProcessorDescription in interface org.embl.ebi.escience.scuflworkers.ProcessorFactory

getProcessorClass

public java.lang.Class getProcessorClass()
Return the Class object for the processors that this factory creates

Specified by:
getProcessorClass in interface org.embl.ebi.escience.scuflworkers.ProcessorFactory