Class ContextService
java.lang.Object
org.apache.tomcat.util.descriptor.web.ResourceBase
org.apache.tomcat.util.descriptor.web.ContextService
- All Implemented Interfaces:
- Serializable,- Injectable
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddHandler(ContextHandler handler) voidaddPortcomponent(String serviceendpoint, String portlink) booleangetHandler(String handlername) getPortlink(String serviceendpoint) Declares a client dependency on the container to resolving a Service Endpoint Interface to a WSDL port.String[]getServiceqname(int i) inthashCode()voidsetDisplayname(String displayname) voidsetInterface(String serviceInterface) voidsetJaxrpcmappingfile(String jaxrpcmappingfile) voidsetLargeIcon(String largeIcon) voidsetServiceqname(String[] serviceqname) voidsetServiceqname(String serviceqname, int i) voidsetServiceqnameLocalpart(String localpart) voidsetServiceqnameNamespaceURI(String namespaceuri) voidsetSmallIcon(String smallIcon) voidsetWsdlfile(String wsdlfile) toString()Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBaseaddInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
- 
Constructor Details- 
ContextServicepublic ContextService()
 
- 
- 
Method Details- 
getDisplayname
- 
setDisplayname
- 
getLargeIcon
- 
setLargeIcon
- 
getSmallIcon
- 
setSmallIcon
- 
getInterface
- 
setInterface
- 
getWsdlfile
- 
setWsdlfile
- 
getJaxrpcmappingfile
- 
setJaxrpcmappingfile
- 
getServiceqname
- 
getServiceqname
- 
getServiceqnameNamespaceURI
- 
getServiceqnameLocalpart
- 
setServiceqname
- 
setServiceqname
- 
setServiceqnameNamespaceURI
- 
setServiceqnameLocalpart
- 
getServiceendpointsDeclares 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
- 
addPortcomponent
- 
getHandlers
- 
getHandler
- 
addHandler
- 
toStringReturn a String representation of this object.
- 
hashCodepublic int hashCode()- Overrides:
- hashCodein class- ResourceBase
 
- 
equals- Overrides:
- equalsin class- ResourceBase
 
 
-