Class ServiceRefHandlerChainType
java.lang.Object
org.apache.axis2.jaxws.description.xml.handler.ServiceRefHandlerChainType
The handler-chain element defines the handlerchain. Handlerchain can be defined such that the
handlers in the handlerchain operate,all ports of a service, on a specific port or on a list of
protocol-bindings. The choice of elements service-name-pattern, port-name-pattern and
protocol-bindings are used to specify whether the handlers in handler-chain are for a service,
port or protocol binding. If none of these choices are specified with the handler-chain element
then the handlers specified in the handler-chain will be applied on everything.
Java class for service-ref_handler-chainType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="service-ref_handler-chainType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="service-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
<element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}service-ref_qname-pattern"/>
<element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}service-ref_protocol-bindingListType"/>
</choice>
<element name="handler" type="{http://java.sun.com/xml/ns/javaee}service-ref_handlerType"
maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<ServiceRefHandlerType>protected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the handler property.getId()Gets the value of the id property.Gets the value of the portNamePattern property.Gets the value of the protocolBindings property.Gets the value of the serviceNamePattern property.voidSets the value of the id property.voidsetPortNamePattern(String value) Sets the value of the portNamePattern property.voidsetServiceNamePattern(String value) Sets the value of the serviceNamePattern property.
-
Field Details
-
serviceNamePattern
-
portNamePattern
-
protocolBindings
-
handler
-
id
-
-
Constructor Details
-
ServiceRefHandlerChainType
public ServiceRefHandlerChainType()
-
-
Method Details
-
getServiceNamePattern
Gets the value of the serviceNamePattern property.- Returns:
- possible object is
String
-
setServiceNamePattern
Sets the value of the serviceNamePattern property.- Parameters:
value- allowed object isString
-
getPortNamePattern
Gets the value of the portNamePattern property.- Returns:
- possible object is
String
-
setPortNamePattern
Sets the value of the portNamePattern property.- Parameters:
value- allowed object isString
-
getProtocolBindings
Gets the value of the protocolBindings property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the protocolBindings property. For example, to add a new item, do as follows:getProtocolBindings().add(newItem);Objects of the following type(s) are allowed in the listString -
getHandler
Gets the value of the handler property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not asetmethod for the handler property. For example, to add a new item, do as follows:getHandler().add(newItem);Objects of the following type(s) are allowed in the listServiceRefHandlerType -
getId
Gets the value of the id property.- Returns:
- possible object is
String
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isString
-