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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addHandler
(ContextHandler handler) void
addPortcomponent
(String serviceendpoint, String portlink) boolean
getHandler
(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) int
hashCode()
void
setDisplayname
(String displayname) void
setInterface
(String serviceInterface) void
setJaxrpcmappingfile
(String jaxrpcmappingfile) void
setLargeIcon
(String largeIcon) void
setServiceqname
(String[] serviceqname) void
setServiceqname
(String serviceqname, int i) void
setServiceqnameLocalpart
(String localpart) void
setServiceqnameNamespaceURI
(String namespaceuri) void
setSmallIcon
(String smallIcon) void
setWsdlfile
(String wsdlfile) toString()
Return a String representation of this object.Methods inherited from class org.apache.tomcat.util.descriptor.web.ResourceBase
addInjectionTarget, getDescription, getInjectionTargets, getLookupName, getName, getNamingResources, getProperty, getType, listProperties, removeProperty, setDescription, setLookupName, setName, setNamingResources, setProperty, setType
-
Constructor Details
-
ContextService
public ContextService()
-
-
Method Details
-
getDisplayname
-
setDisplayname
-
getLargeIcon
-
setLargeIcon
-
getSmallIcon
-
setSmallIcon
-
getInterface
-
setInterface
-
getWsdlfile
-
setWsdlfile
-
getJaxrpcmappingfile
-
setJaxrpcmappingfile
-
getServiceqname
-
getServiceqname
-
getServiceqnameNamespaceURI
-
getServiceqnameLocalpart
-
setServiceqname
-
setServiceqname
-
setServiceqnameNamespaceURI
-
setServiceqnameLocalpart
-
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
-
addPortcomponent
-
getHandlers
-
getHandler
-
addHandler
-
toString
Return a String representation of this object. -
hashCode
public int hashCode()- Overrides:
hashCode
in classResourceBase
-
equals
- Overrides:
equals
in classResourceBase
-