|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.axis2.jaxws.description.xml.handler.HandlerChainType
public class HandlerChainType
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 the 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 handler-chainType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="handler-chainType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<choice minOccurs="0">
<element name="service-name-pattern" type="{http://www.w3.org/2001/XMLSchema}QName"/>
<element name="port-name-pattern" type="{http://www.w3.org/2001/XMLSchema}QName"/>
<element name="protocol-bindings" type="{http://java.sun.com/xml/ns/javaee}protocol-bindingListType"/>
</choice>
<element name="handler" type="{http://java.sun.com/xml/ns/javaee}handlerType"
maxOccurs="unbounded"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected java.util.List<HandlerType> |
handler
|
protected java.lang.String |
id
|
protected javax.xml.namespace.QName |
portNamePattern
|
protected java.util.List<java.lang.String> |
protocolBindings
|
protected javax.xml.namespace.QName |
serviceNamePattern
|
| Constructor Summary | |
|---|---|
HandlerChainType()
|
|
| Method Summary | |
|---|---|
java.util.List<HandlerType> |
getHandler()
Gets the value of the handler property. |
java.lang.String |
getId()
Gets the value of the id property. |
javax.xml.namespace.QName |
getPortNamePattern()
Gets the value of the portNamePattern property. |
java.util.List<java.lang.String> |
getProtocolBindings()
Gets the value of the protocolBindings property. |
javax.xml.namespace.QName |
getServiceNamePattern()
Gets the value of the serviceNamePattern property. |
void |
setId(java.lang.String value)
Sets the value of the id property. |
void |
setPortNamePattern(javax.xml.namespace.QName value)
Sets the value of the portNamePattern property. |
void |
setServiceNamePattern(javax.xml.namespace.QName value)
Sets the value of the serviceNamePattern property. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected javax.xml.namespace.QName serviceNamePattern
protected javax.xml.namespace.QName portNamePattern
protected java.util.List<java.lang.String> protocolBindings
protected java.util.List<HandlerType> handler
protected java.lang.String id
| Constructor Detail |
|---|
public HandlerChainType()
| Method Detail |
|---|
public javax.xml.namespace.QName getServiceNamePattern()
Stringpublic void setServiceNamePattern(javax.xml.namespace.QName value)
value - allowed object is Stringpublic javax.xml.namespace.QName getPortNamePattern()
Stringpublic void setPortNamePattern(javax.xml.namespace.QName value)
value - allowed object is Stringpublic java.util.List<java.lang.String> getProtocolBindings()
set method 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 list String
public java.util.List<HandlerType> getHandler()
set method 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 list HandlerType
public java.lang.String getId()
Stringpublic void setId(java.lang.String value)
value - allowed object is String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||