public class PortInfo extends Object implements WSPortInfo
WSServiceDelegate
to keep track of a port,
since a port maybe added dynamically.Modifier and Type | Field and Description |
---|---|
BindingID |
bindingId |
com.sun.xml.ws.policy.PolicyMap |
policyMap |
WSDLPort |
portModel
If a port is known statically to a WSDL,
PortInfo may
have the corresponding WSDL model. |
QName |
portName |
EndpointAddress |
targetEndpoint |
Constructor and Description |
---|
PortInfo(WSServiceDelegate owner,
EndpointAddress targetEndpoint,
QName name,
BindingID bindingId) |
PortInfo(WSServiceDelegate owner,
WSDLPort port) |
Modifier and Type | Method and Description |
---|---|
BindingImpl |
createBinding(WebServiceFeature[] webServiceFeatures,
Class<?> portInterface)
Creates
BindingImpl for this PortInfo . |
BindingImpl |
createBinding(WebServiceFeatureList webServiceFeatures,
Class<?> portInterface,
BindingImpl existingBinding) |
com.sun.xml.ws.policy.PolicyMap |
createPolicyMap() |
BindingID |
getBindingId()
Returns the same information as
PortInfo.getBindingID()
but in a strongly-typed fashion |
String |
getBindingID()
|
EndpointAddress |
getEndpointAddress()
Gets the endpoint address of this port.
|
WSService |
getOwner()
Returns
WSService object that owns this port. |
com.sun.xml.ws.policy.PolicyMap |
getPolicyMap()
Gives the PolicMap that captures the Policy for the PortInfo
|
WSDLPort |
getPort()
|
QName |
getPortName()
Only meant to be used via
PortInfo . |
QName |
getServiceName()
Deprecated.
Only meant to be used via
PortInfo .
Use WSServiceDelegate.getServiceName() . |
@NotNull public final QName portName
@NotNull public final EndpointAddress targetEndpoint
@NotNull public final BindingID bindingId
@NotNull public final com.sun.xml.ws.policy.PolicyMap policyMap
@Nullable public final WSDLPort portModel
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 a SEIPortInfo
, then this is always non-null.public PortInfo(WSServiceDelegate owner, EndpointAddress targetEndpoint, QName name, BindingID bindingId)
public PortInfo(@NotNull WSServiceDelegate owner, @NotNull WSDLPort port)
public com.sun.xml.ws.policy.PolicyMap getPolicyMap()
WSPortInfo
getPolicyMap
in interface WSPortInfo
public com.sun.xml.ws.policy.PolicyMap createPolicyMap()
public BindingImpl createBinding(WebServiceFeature[] webServiceFeatures, Class<?> portInterface)
BindingImpl
for this PortInfo
.webServiceFeatures
- User-specified features.portInterface
- Null if this is for dispatch. Otherwise the interface the proxy is going to implementpublic BindingImpl createBinding(WebServiceFeatureList webServiceFeatures, Class<?> portInterface, BindingImpl existingBinding)
@Nullable public WSDLPort getPort()
WSPortInfo
WSDLPort
object that represents this port,
if WSService
is configured with WSDL. Otherwise null.getPort
in interface WSPortInfo
@NotNull public WSService getOwner()
WSPortInfo
WSService
object that owns this port.getOwner
in interface WSPortInfo
@NotNull public BindingID getBindingId()
WSPortInfo
PortInfo.getBindingID()
but in a strongly-typed fashiongetBindingId
in interface WSPortInfo
@NotNull public EndpointAddress getEndpointAddress()
WSPortInfo
getEndpointAddress
in interface WSPortInfo
public QName getServiceName()
getServiceName
in interface PortInfo
public QName getPortName()
getPortName
in interface PortInfo
public String getBindingID()
getBindingID
in interface PortInfo
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.