Class HandlerChainType

java.lang.Object
com.sun.xml.ws.config.metro.parser.jsr109.HandlerChainType
All Implemented Interfaces:
org.glassfish.jaxb.core.Locatable

public class HandlerChainType extends Object implements org.glassfish.jaxb.core.Locatable
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 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://java.sun.com/xml/ns/javaee}qname-pattern"/>
           <element name="port-name-pattern" type="{http://java.sun.com/xml/ns/javaee}qname-pattern"/>
           <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 Details

    • serviceNamePattern

      protected String serviceNamePattern
    • portNamePattern

      protected String portNamePattern
    • protocolBindings

      protected List<String> protocolBindings
    • handler

      protected List<HandlerType> handler
    • id

      protected String id
    • locator

      protected Locator locator
  • Constructor Details

    • HandlerChainType

      public HandlerChainType()
  • Method Details

    • getServiceNamePattern

      public String getServiceNamePattern()
      Gets the value of the serviceNamePattern property.
      Returns:
      possible object is String
    • setServiceNamePattern

      public void setServiceNamePattern(String value)
      Sets the value of the serviceNamePattern property.
      Parameters:
      value - allowed object is String
    • getPortNamePattern

      public String getPortNamePattern()
      Gets the value of the portNamePattern property.
      Returns:
      possible object is String
    • setPortNamePattern

      public void setPortNamePattern(String value)
      Sets the value of the portNamePattern property.
      Parameters:
      value - allowed object is String
    • getProtocolBindings

      public List<String> 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 a 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

    • getHandler

      public List<HandlerType> 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 a 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

    • getId

      public String getId()
      Gets the value of the id property.
      Returns:
      possible object is String
    • setId

      public void setId(String value)
      Sets the value of the id property.
      Parameters:
      value - allowed object is String
    • sourceLocation

      public Locator sourceLocation()
      Specified by:
      sourceLocation in interface org.glassfish.jaxb.core.Locatable
    • setSourceLocation

      public void setSourceLocation(Locator newLocator)