java.lang.Object
com.sun.xml.ws.client.PortInfo
- All Implemented Interfaces:
WSPortInfo
,jakarta.xml.ws.handler.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
(jakarta.xml.ws.WebServiceFeature[] webServiceFeatures, Class<?> portInterface) CreatesBindingImpl
for thisPortInfo
.Returns the same information asPortInfo.getBindingID()
but in a strongly-typed fashionDeprecated.Gets the endpoint address of this port.getOwner()
ReturnsWSService
object 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,PortInfo
may 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:WSPortInfo
Gives the PolicMap that captures the Policy for the PortInfo- Specified by:
getPolicyMap
in interfaceWSPortInfo
- Returns:
- PolicyMap
-
createPolicyMap
-
createBinding
public BindingImpl createBinding(jakarta.xml.ws.WebServiceFeature[] webServiceFeatures, Class<?> portInterface) CreatesBindingImpl
for 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:WSPortInfo
Gets theWSDLPort
object that represents this port, ifWSService
is configured with WSDL. Otherwise null.- Specified by:
getPort
in interfaceWSPortInfo
-
getOwner
Description copied from interface:WSPortInfo
ReturnsWSService
object that owns this port.- Specified by:
getOwner
in interfaceWSPortInfo
-
getBindingId
Description copied from interface:WSPortInfo
Returns the same information asPortInfo.getBindingID()
but in a strongly-typed fashion- Specified by:
getBindingId
in interfaceWSPortInfo
-
getEndpointAddress
Description copied from interface:WSPortInfo
Gets the endpoint address of this port.- Specified by:
getEndpointAddress
in interfaceWSPortInfo
-
getServiceName
Deprecated.Only meant to be used viaPortInfo
. UseWSServiceDelegate.getServiceName()
.- Specified by:
getServiceName
in interfacejakarta.xml.ws.handler.PortInfo
-
getPortName
Only meant to be used viaPortInfo
. UseportName
.- Specified by:
getPortName
in interfacejakarta.xml.ws.handler.PortInfo
-
getBindingID
Deprecated.Only meant to be used viaPortInfo
. UsebindingId
.- Specified by:
getBindingID
in interfacejakarta.xml.ws.handler.PortInfo
-
PortInfo
.