org.biomoby.client.taverna.plugin
Class BiomobyProcessorFactory

java.lang.Object
  extended by org.embl.ebi.escience.scuflworkers.ProcessorFactory
      extended by org.biomoby.client.taverna.plugin.BiomobyProcessorFactory

public class BiomobyProcessorFactory
extends ProcessorFactory

Implementation of ProcessorFactory that creates BiomobyProcessor nodes.

Version:
$Id: BiomobyProcessorFactory.java,v 1.3 2007/04/04 14:29:55 edwardkawas Exp $
Author:
Martin Senger

Constructor Summary
BiomobyProcessorFactory(java.lang.String mobyEndpoint, java.lang.String authorityName, java.lang.String serviceName)
          Create a new factory configured with the specified endpoint base and application name, which will be concatenated to produce the endpoint URL.
BiomobyProcessorFactory(java.lang.String registry_url, java.lang.String registry_uri, java.lang.String authorityName, java.lang.String serviceName)
          Create a new factory configured with the specified endpoint base and application name, which will be concatenated to produce the endpoint URL.
 
Method Summary
 java.lang.String getAuthorityName()
           
 java.lang.String getMobyEndpoint()
           
 java.lang.String getMobyURI()
           
 java.lang.Class getProcessorClass()
          Return the Class object for processors that would be created by this factory
 java.lang.String getProcessorDescription()
          Return a textual description of the factory
 java.lang.String getServiceName()
           
 boolean isAlive()
           
 void setAlive(boolean isAlive)
           
 
Methods inherited from class org.embl.ebi.escience.scuflworkers.ProcessorFactory
createProcessor, getDescription, getName, getXMLFragment, setDescription, setName, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BiomobyProcessorFactory

public BiomobyProcessorFactory(java.lang.String mobyEndpoint,
                               java.lang.String authorityName,
                               java.lang.String serviceName)
Create a new factory configured with the specified endpoint base and application name, which will be concatenated to produce the endpoint URL.

Parameters:
mobyEndpoint - the registry endpoint.
authorityName - the service providers' authority
serviceName - the name of the service

BiomobyProcessorFactory

public BiomobyProcessorFactory(java.lang.String registry_url,
                               java.lang.String registry_uri,
                               java.lang.String authorityName,
                               java.lang.String serviceName)
Create a new factory configured with the specified endpoint base and application name, which will be concatenated to produce the endpoint URL.

Parameters:
registry_url - the registry endpoint.
registry_uri - the registry namespace.
authorityName - the service providers' authority
serviceName - the name of the service
Method Detail

getMobyEndpoint

public java.lang.String getMobyEndpoint()
Returns:
the mobycentral registry endpoint

getMobyURI

public java.lang.String getMobyURI()

getServiceName

public java.lang.String getServiceName()
Returns:
the name of the service

getAuthorityName

public java.lang.String getAuthorityName()
Returns:
the moby service instance authority's name

getProcessorDescription

public java.lang.String getProcessorDescription()
Return a textual description of the factory

Specified by:
getProcessorDescription in class ProcessorFactory

getProcessorClass

public java.lang.Class getProcessorClass()
Return the Class object for processors that would be created by this factory

Specified by:
getProcessorClass in class ProcessorFactory

isAlive

public boolean isAlive()
Returns:
the isAlive

setAlive

public void setAlive(boolean isAlive)
Parameters:
isAlive - the isAlive to set