Class Handler


  • public class Handler
    extends CompatibilityDescriptionGroup
    Declares the handler for a port-component. Handlers can access the init-param name/value pairs using the HandlerInfo interface. If port-name is not specified, the handler is assumed to be associated with all ports of the service. Used in: service-ref Java class for Handler complex type. The following schema fragment specifies the expected content contained within this class.
     <complexType name="Handler">
       <complexContent>
         <extension base="{common.xmi}CompatibilityDescriptionGroup">
           <choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="soapRoles" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="portNames" type="{http://www.w3.org/2001/XMLSchema}string"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="handlerClass" type="{java.xmi}JavaClass"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="initParams" type="{common.xmi}ParamValue"/>
             </choice>
             <choice maxOccurs="unbounded" minOccurs="0">
               <element name="soapHeaders" type="{common.xmi}QName"/>
             </choice>
           </choice>
           <attribute name="handlerClass" type="{http://www.w3.org/2001/XMLSchema}string" />
           <attribute name="handlerName" type="{http://www.w3.org/2001/XMLSchema}string" />
         </extension>
       </complexContent>
     </complexType>
     
    • Constructor Detail

      • Handler

        public Handler()
    • Method Detail

      • getSoapRoles

        public List<String> getSoapRoles()
        Gets the value of the soapRoles 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 soapRoles property. For example, to add a new item, do as follows:
         getSoapRoles().add(newItem);
         
        Objects of the following type(s) are allowed in the list String
      • getPortNames

        public List<String> getPortNames()
        Gets the value of the portNames 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 portNames property. For example, to add a new item, do as follows:
         getPortNames().add(newItem);
         
        Objects of the following type(s) are allowed in the list String
      • getHandlerClasses

        public List<JavaClass> getHandlerClasses()
        Gets the value of the handlerClasses 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 handlerClasses property. For example, to add a new item, do as follows:
         getHandlerClasses().add(newItem);
         
        Objects of the following type(s) are allowed in the list JavaClass
      • getInitParams

        public List<ParamValue> getInitParams()
        Gets the value of the initParams 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 initParams property. For example, to add a new item, do as follows:
         getInitParams().add(newItem);
         
        Objects of the following type(s) are allowed in the list ParamValue
      • getSoapHeaders

        public List<QName> getSoapHeaders()
        Gets the value of the soapHeaders 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 soapHeaders property. For example, to add a new item, do as follows:
         getSoapHeaders().add(newItem);
         
        Objects of the following type(s) are allowed in the list QName
      • getHandlerClassString

        public String getHandlerClassString()
        Gets the value of the handlerClassString property.
        Returns:
        possible object is String
      • setHandlerClassString

        public void setHandlerClassString​(String value)
        Sets the value of the handlerClassString property.
        Parameters:
        value - allowed object is String
      • getHandlerName

        public String getHandlerName()
        Gets the value of the handlerName property.
        Returns:
        possible object is String
      • setHandlerName

        public void setHandlerName​(String value)
        Sets the value of the handlerName property.
        Parameters:
        value - allowed object is String