Class GeneIdEndpoint

  • All Implemented Interfaces:
    org.springframework.ws.server.endpoint.PayloadEndpoint

    public class GeneIdEndpoint
    extends AbstractGemmaEndpoint
    Given the official symbol and taxon of a gene, will return the matching gene ID.
    Author:
    klc, gavin
    • Field Detail

      • GENE_LOCAL_NAME

        public static final String GENE_LOCAL_NAME
        The local name of the expected Request/Response.
        See Also:
        Constant Field Values
    • Constructor Detail

      • GeneIdEndpoint

        public GeneIdEndpoint()
    • Method Detail

      • setGeneService

        public void setGeneService​(GeneService geneS)
        Sets the "business service" to delegate to.
      • setTaxonService

        public void setTaxonService​(TaxonService taxonService)
      • invokeInternal

        protected Element invokeInternal​(Element requestElement,
                                         Document document)
        Reads the given requestElement, and sends a the response back.
        Specified by:
        invokeInternal in class org.springframework.ws.server.endpoint.AbstractDomPayloadEndpoint
        Parameters:
        requestElement - the contents of the SOAP message as DOM elements
        document - a DOM document to be used for constructing Nodes
        Returns:
        the response element