Class ContextService

java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.ContextService
All Implemented Interfaces:
Serializable, Injectable

public class ContextService extends ResourceBase
Representation of a web service reference for a web application, as represented in a <service-ref> element in the deployment descriptor.
Author:
Fabien Carrion
See Also:
  • Constructor Details

    • ContextService

      public ContextService()
  • Method Details

    • getDisplayname

      public String getDisplayname()
    • setDisplayname

      public void setDisplayname(String displayname)
    • getLargeIcon

      public String getLargeIcon()
    • setLargeIcon

      public void setLargeIcon(String largeIcon)
    • getSmallIcon

      public String getSmallIcon()
    • setSmallIcon

      public void setSmallIcon(String smallIcon)
    • getInterface

      public String getInterface()
    • setInterface

      public void setInterface(String serviceInterface)
    • getWsdlfile

      public String getWsdlfile()
    • setWsdlfile

      public void setWsdlfile(String wsdlfile)
    • getJaxrpcmappingfile

      public String getJaxrpcmappingfile()
    • setJaxrpcmappingfile

      public void setJaxrpcmappingfile(String jaxrpcmappingfile)
    • getServiceqname

      public String[] getServiceqname()
    • getServiceqname

      public String getServiceqname(int i)
    • getServiceqnameNamespaceURI

      public String getServiceqnameNamespaceURI()
    • getServiceqnameLocalpart

      public String getServiceqnameLocalpart()
    • setServiceqname

      public void setServiceqname(String[] serviceqname)
    • setServiceqname

      public void setServiceqname(String serviceqname, int i)
    • setServiceqnameNamespaceURI

      public void setServiceqnameNamespaceURI(String namespaceuri)
    • setServiceqnameLocalpart

      public void setServiceqnameLocalpart(String localpart)
    • getServiceendpoints

      public Iterator<String> getServiceendpoints()
      Declares a client dependency on the container to resolving a Service Endpoint Interface to a WSDL port. It optionally associates the Service Endpoint Interface with a particular port-component.
      Returns:
      the endpoint names
    • getPortlink

      public String getPortlink(String serviceendpoint)
    • addPortcomponent

      public void addPortcomponent(String serviceendpoint, String portlink)
    • getHandlers

      public Iterator<String> getHandlers()
    • getHandler

      public ContextHandler getHandler(String handlername)
    • addHandler

      public void addHandler(ContextHandler handler)
    • toString

      public String toString()
      Return a String representation of this object.
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class ResourceBase
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class ResourceBase