com.sun.xml.ws.config.metro.parser.jsr109
Class PortComponentType

java.lang.Object
  extended by com.sun.xml.ws.config.metro.parser.jsr109.PortComponentType
All Implemented Interfaces:
Locatable

public class PortComponentType
extends Object
implements Locatable

The port-component element associates a WSDL port with a web service interface and implementation. It defines the name of the port as a component, optional description, optional display name, optional iconic representations, WSDL port QName, Service Endpoint Interface, Service Implementation Bean. This element also associates a WSDL service with a JAX-WS Provider implementation.

Java class for port-componentType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="port-componentType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="description" type="{http://java.sun.com/xml/ns/javaee}descriptionType" minOccurs="0"/>
         <element name="display-name" type="{http://java.sun.com/xml/ns/javaee}display-nameType" minOccurs="0"/>
         <element name="icon" type="{http://java.sun.com/xml/ns/javaee}iconType" minOccurs="0"/>
         <element name="port-component-name" type="{http://java.sun.com/xml/ns/javaee}string"/>
         <element name="wsdl-service" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" minOccurs="0"/>
         <element name="wsdl-port" type="{http://java.sun.com/xml/ns/javaee}xsdQNameType" minOccurs="0"/>
         <element name="enable-mtom" type="{http://java.sun.com/xml/ns/javaee}true-falseType" minOccurs="0"/>
         <element name="mtom-threshold" type="{http://java.sun.com/xml/ns/javaee}xsdNonNegativeIntegerType" minOccurs="0"/>
         <element name="addressing" type="{http://java.sun.com/xml/ns/javaee}addressingType" minOccurs="0"/>
         <element name="respect-binding" type="{http://java.sun.com/xml/ns/javaee}respect-bindingType" minOccurs="0"/>
         <element name="protocol-binding" type="{http://java.sun.com/xml/ns/javaee}protocol-bindingType" minOccurs="0"/>
         <element name="service-endpoint-interface" type="{http://java.sun.com/xml/ns/javaee}fully-qualified-classType" minOccurs="0"/>
         <element name="service-impl-bean" type="{http://java.sun.com/xml/ns/javaee}service-impl-beanType"/>
         <choice>
           <element name="handler" type="{http://java.sun.com/xml/ns/javaee}handlerType" maxOccurs="unbounded" minOccurs="0"/>
           <element name="handler-chains" type="{http://java.sun.com/xml/ns/javaee}handler-chainsType" minOccurs="0"/>
         </choice>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  AddressingType addressing
           
protected  DescriptionType description
           
protected  DisplayNameType displayName
           
protected  TrueFalseType enableMtom
           
protected  List<HandlerType> handler
           
protected  HandlerChainsType handlerChains
           
protected  IconType icon
           
protected  String id
           
protected  Locator locator
           
protected  XsdNonNegativeIntegerType mtomThreshold
           
protected  String portComponentName
           
protected  String protocolBinding
           
protected  RespectBindingType respectBinding
           
protected  FullyQualifiedClassType serviceEndpointInterface
           
protected  ServiceImplBeanType serviceImplBean
           
protected  XsdQNameType wsdlPort
           
protected  XsdQNameType wsdlService
           
 
Constructor Summary
PortComponentType()
           
 
Method Summary
 AddressingType getAddressing()
          Gets the value of the addressing property.
 DescriptionType getDescription()
          Gets the value of the description property.
 DisplayNameType getDisplayName()
          Gets the value of the displayName property.
 TrueFalseType getEnableMtom()
          Gets the value of the enableMtom property.
 List<HandlerType> getHandler()
          Gets the value of the handler property.
 HandlerChainsType getHandlerChains()
          Gets the value of the handlerChains property.
 IconType getIcon()
          Gets the value of the icon property.
 String getId()
          Gets the value of the id property.
 XsdNonNegativeIntegerType getMtomThreshold()
          Gets the value of the mtomThreshold property.
 String getPortComponentName()
          Gets the value of the portComponentName property.
 String getProtocolBinding()
          Gets the value of the protocolBinding property.
 RespectBindingType getRespectBinding()
          Gets the value of the respectBinding property.
 FullyQualifiedClassType getServiceEndpointInterface()
          Gets the value of the serviceEndpointInterface property.
 ServiceImplBeanType getServiceImplBean()
          Gets the value of the serviceImplBean property.
 XsdQNameType getWsdlPort()
          Gets the value of the wsdlPort property.
 XsdQNameType getWsdlService()
          Gets the value of the wsdlService property.
 void setAddressing(AddressingType value)
          Sets the value of the addressing property.
 void setDescription(DescriptionType value)
          Sets the value of the description property.
 void setDisplayName(DisplayNameType value)
          Sets the value of the displayName property.
 void setEnableMtom(TrueFalseType value)
          Sets the value of the enableMtom property.
 void setHandlerChains(HandlerChainsType value)
          Sets the value of the handlerChains property.
 void setIcon(IconType value)
          Sets the value of the icon property.
 void setId(String value)
          Sets the value of the id property.
 void setMtomThreshold(XsdNonNegativeIntegerType value)
          Sets the value of the mtomThreshold property.
 void setPortComponentName(String value)
          Sets the value of the portComponentName property.
 void setProtocolBinding(String value)
          Sets the value of the protocolBinding property.
 void setRespectBinding(RespectBindingType value)
          Sets the value of the respectBinding property.
 void setServiceEndpointInterface(FullyQualifiedClassType value)
          Sets the value of the serviceEndpointInterface property.
 void setServiceImplBean(ServiceImplBeanType value)
          Sets the value of the serviceImplBean property.
 void setSourceLocation(Locator newLocator)
           
 void setWsdlPort(XsdQNameType value)
          Sets the value of the wsdlPort property.
 void setWsdlService(XsdQNameType value)
          Sets the value of the wsdlService property.
 Locator sourceLocation()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

description

protected DescriptionType description

displayName

protected DisplayNameType displayName

icon

protected IconType icon

portComponentName

protected String portComponentName

wsdlService

protected XsdQNameType wsdlService

wsdlPort

protected XsdQNameType wsdlPort

enableMtom

protected TrueFalseType enableMtom

mtomThreshold

protected XsdNonNegativeIntegerType mtomThreshold

addressing

protected AddressingType addressing

respectBinding

protected RespectBindingType respectBinding

protocolBinding

protected String protocolBinding

serviceEndpointInterface

protected FullyQualifiedClassType serviceEndpointInterface

serviceImplBean

protected ServiceImplBeanType serviceImplBean

handler

protected List<HandlerType> handler

handlerChains

protected HandlerChainsType handlerChains

id

protected String id

locator

protected Locator locator
Constructor Detail

PortComponentType

public PortComponentType()
Method Detail

getDescription

public DescriptionType getDescription()
Gets the value of the description property.

Returns:
possible object is DescriptionType

setDescription

public void setDescription(DescriptionType value)
Sets the value of the description property.

Parameters:
value - allowed object is DescriptionType

getDisplayName

public DisplayNameType getDisplayName()
Gets the value of the displayName property.

Returns:
possible object is DisplayNameType

setDisplayName

public void setDisplayName(DisplayNameType value)
Sets the value of the displayName property.

Parameters:
value - allowed object is DisplayNameType

getIcon

public IconType getIcon()
Gets the value of the icon property.

Returns:
possible object is IconType

setIcon

public void setIcon(IconType value)
Sets the value of the icon property.

Parameters:
value - allowed object is IconType

getPortComponentName

public String getPortComponentName()
Gets the value of the portComponentName property.

Returns:
possible object is String

setPortComponentName

public void setPortComponentName(String value)
Sets the value of the portComponentName property.

Parameters:
value - allowed object is String

getWsdlService

public XsdQNameType getWsdlService()
Gets the value of the wsdlService property.

Returns:
possible object is XsdQNameType

setWsdlService

public void setWsdlService(XsdQNameType value)
Sets the value of the wsdlService property.

Parameters:
value - allowed object is XsdQNameType

getWsdlPort

public XsdQNameType getWsdlPort()
Gets the value of the wsdlPort property.

Returns:
possible object is XsdQNameType

setWsdlPort

public void setWsdlPort(XsdQNameType value)
Sets the value of the wsdlPort property.

Parameters:
value - allowed object is XsdQNameType

getEnableMtom

public TrueFalseType getEnableMtom()
Gets the value of the enableMtom property.

Returns:
possible object is TrueFalseType

setEnableMtom

public void setEnableMtom(TrueFalseType value)
Sets the value of the enableMtom property.

Parameters:
value - allowed object is TrueFalseType

getMtomThreshold

public XsdNonNegativeIntegerType getMtomThreshold()
Gets the value of the mtomThreshold property.

Returns:
possible object is XsdNonNegativeIntegerType

setMtomThreshold

public void setMtomThreshold(XsdNonNegativeIntegerType value)
Sets the value of the mtomThreshold property.

Parameters:
value - allowed object is XsdNonNegativeIntegerType

getAddressing

public AddressingType getAddressing()
Gets the value of the addressing property.

Returns:
possible object is AddressingType

setAddressing

public void setAddressing(AddressingType value)
Sets the value of the addressing property.

Parameters:
value - allowed object is AddressingType

getRespectBinding

public RespectBindingType getRespectBinding()
Gets the value of the respectBinding property.

Returns:
possible object is RespectBindingType

setRespectBinding

public void setRespectBinding(RespectBindingType value)
Sets the value of the respectBinding property.

Parameters:
value - allowed object is RespectBindingType

getProtocolBinding

public String getProtocolBinding()
Gets the value of the protocolBinding property.

Returns:
possible object is String

setProtocolBinding

public void setProtocolBinding(String value)
Sets the value of the protocolBinding property.

Parameters:
value - allowed object is String

getServiceEndpointInterface

public FullyQualifiedClassType getServiceEndpointInterface()
Gets the value of the serviceEndpointInterface property.

Returns:
possible object is FullyQualifiedClassType

setServiceEndpointInterface

public void setServiceEndpointInterface(FullyQualifiedClassType value)
Sets the value of the serviceEndpointInterface property.

Parameters:
value - allowed object is FullyQualifiedClassType

getServiceImplBean

public ServiceImplBeanType getServiceImplBean()
Gets the value of the serviceImplBean property.

Returns:
possible object is ServiceImplBeanType

setServiceImplBean

public void setServiceImplBean(ServiceImplBeanType value)
Sets the value of the serviceImplBean property.

Parameters:
value - allowed object is ServiceImplBeanType

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


getHandlerChains

public HandlerChainsType getHandlerChains()
Gets the value of the handlerChains property.

Returns:
possible object is HandlerChainsType

setHandlerChains

public void setHandlerChains(HandlerChainsType value)
Sets the value of the handlerChains property.

Parameters:
value - allowed object is HandlerChainsType

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 Locatable
Returns:
null if the location information is unavaiable, or otherwise return a immutable valid Locator object.

setSourceLocation

public void setSourceLocation(Locator newLocator)


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.