Package com.sun.xml.ws.client
Class PortInfo
java.lang.Object
com.sun.xml.ws.client.PortInfo
- All Implemented Interfaces:
WSPortInfo,PortInfo
- Direct Known Subclasses:
SEIPortInfo
Information about a port.
This object is owned by
This object is owned by
WSServiceDelegate to keep track of a port,
since a port maybe added dynamically.- Author:
- JAXWS Development Team
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPortInfo(WSServiceDelegate owner, EndpointAddress targetEndpoint, QName name, BindingID bindingId) PortInfo(WSServiceDelegate owner, WSDLPort port) -
Method Summary
Modifier and TypeMethodDescriptioncreateBinding(WebServiceFeatureList webServiceFeatures, Class<?> portInterface, BindingImpl existingBinding) createBinding(WebServiceFeature[] webServiceFeatures, Class<?> portInterface) CreatesBindingImplfor thisPortInfo.Returns the same information asPortInfo.getBindingID()but in a strongly-typed fashionDeprecated.Gets the endpoint address of this port.getOwner()ReturnsWSServiceobject that owns this port.Gives the PolicMap that captures the Policy for the PortInfogetPort()Only meant to be used viaPortInfo.Deprecated.Only meant to be used viaPortInfo.
-
Field Details
-
portName
-
targetEndpoint
-
bindingId
-
policyMap
-
portModel
If a port is known statically to a WSDL,PortInfomay have the corresponding WSDL model. This would occur when the service was created with the WSDL location and the port is defined in the WSDL.
If this is aSEIPortInfo, then this is always non-null.
-
-
Constructor Details
-
PortInfo
public PortInfo(WSServiceDelegate owner, EndpointAddress targetEndpoint, QName name, BindingID bindingId) -
PortInfo
-
-
Method Details
-
getPolicyMap
Description copied from interface:WSPortInfoGives the PolicMap that captures the Policy for the PortInfo- Specified by:
getPolicyMapin interfaceWSPortInfo- Returns:
- PolicyMap
-
createPolicyMap
-
createBinding
CreatesBindingImplfor thisPortInfo.- Parameters:
webServiceFeatures- User-specified features.portInterface- Null if this is for dispatch. Otherwise the interface the proxy is going to implement- Returns:
- The initialized BindingImpl
-
createBinding
public BindingImpl createBinding(WebServiceFeatureList webServiceFeatures, Class<?> portInterface, BindingImpl existingBinding) -
getPort
Description copied from interface:WSPortInfoGets theWSDLPortobject that represents this port, ifWSServiceis configured with WSDL. Otherwise null.- Specified by:
getPortin interfaceWSPortInfo
-
getOwner
Description copied from interface:WSPortInfoReturnsWSServiceobject that owns this port.- Specified by:
getOwnerin interfaceWSPortInfo
-
getBindingId
Description copied from interface:WSPortInfoReturns the same information asPortInfo.getBindingID()but in a strongly-typed fashion- Specified by:
getBindingIdin interfaceWSPortInfo
-
getEndpointAddress
Description copied from interface:WSPortInfoGets the endpoint address of this port.- Specified by:
getEndpointAddressin interfaceWSPortInfo
-
getServiceName
Deprecated.Only meant to be used viaPortInfo. UseWSServiceDelegate.getServiceName().- Specified by:
getServiceNamein interfacePortInfo
-
getPortName
- Specified by:
getPortNamein interfacePortInfo
-
getBindingID
- Specified by:
getBindingIDin interfacePortInfo
-
PortInfo.