|
Generated: Sun Oct 7 15:19:11 BST 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface AnalysisFactoryWS
An interface to a Web Service that produces a list of available analyses, and provides pointers to them. It is a poor-man's directory service.
The interface uses two similar but not the same entities: an analysis and a service. An analysis is a program that has to be executed and controlled (such as Blast), while service is a Web Service that allows to execute and to controll the analysis. A service is a (usually SOAP-based) wrapper around the analysis.
SOAPLAB_SERVICE_NAME_DELIMITER
getAvailableAnalysesInCategory(java.lang.String)
AnalysisWS| Field Summary | |
|---|---|
static java.lang.String |
SOAPLAB_SERVICE_NAME_DELIMITER
A string that delimits category name from a service name. |
| Method Summary | |
|---|---|
java.lang.String[] |
getAvailableAnalyses()
Return an array of names of all available analyses, regardless which category they belong to. |
java.lang.String[] |
getAvailableAnalysesInCategory(java.lang.String categoryName)
Return an array of names of all available analyses from the given category. |
java.lang.String[] |
getAvailableCategories()
Return an array of names of all available categories. |
java.lang.String |
getServiceLocation(java.lang.String analysisName)
Return a location of a web service representing given analysis. |
| Field Detail |
|---|
static final java.lang.String SOAPLAB_SERVICE_NAME_DELIMITER
| Method Detail |
|---|
java.lang.String[] getAvailableCategories()
throws SoaplabException
SoaplabException - if communication with the service fails
java.lang.String[] getAvailableAnalyses()
throws SoaplabException
Naming convention: How to name analyses
This service recognizes analyses divided into categories. A
full name of an analysis consists of the category name and an
analysis name, separated by SOAPLAB_SERVICE_NAME_DELIMITER. For example:
Classic.HelloWorld Reformatting.SeqRet Coding_Regions.PlotORFHowever, an implementation may recognize also names without any category name. It may mean that the given analysis name is looked for in all categories until a match is found.
SoaplabException - if communication with the service fails
java.lang.String[] getAvailableAnalysesInCategory(java.lang.String categoryName)
throws SoaplabException
SoaplabException - if communication with the service fails
or more specifically
(see defining exceptions) using:
AnalysisWS.FAULT_UNKNOWN_NAME
if given categoryName does not exist
java.lang.String getServiceLocation(java.lang.String analysisName)
throws SoaplabException
AnalysisWS.
Discussion:
Is the location sufficient? Perhaps we need also a name space of the service? If yes, we may introduce a convention how to put it into the returned URL...
SoaplabException - if communication with the service fails
or more specifically
(see defining exceptions) using:
AnalysisWS.FAULT_UNKNOWN_NAME
if given analysisName does not exist
|
Generated: Sun Oct 7 15:19:11 BST 2007 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||