Package com.sun.enterprise.deployment
Class ServiceRefPortInfo
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.ServiceRefPortInfo
-
- All Implemented Interfaces:
Serializable
public class ServiceRefPortInfo extends Descriptor
Information about a single WSDL port or port type in a service reference.- Author:
- Kenneth Saks
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.glassfish.deployment.common.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
-
-
Constructor Summary
Constructors Constructor Description ServiceRefPortInfo()
ServiceRefPortInfo(ServiceRefPortInfo other)
-
Method Summary
-
Methods inherited from class org.glassfish.deployment.common.Descriptor
addDescriptorExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, getDescriptorExtension, getDescriptorExtensions, getDisplayName, getDocType, getLargeIconUri, getLocalizedDescription, getLocalizedDescriptions, getLocalizedDisplayName, getLocalizedDisplayNames, getLocalizedLargeIconUri, getLocalizedLargeIconUris, getLocalizedSmallIconUri, getLocalizedSmallIconUris, getName, getPrefixMapping, getSmallIconUri, isBoundsChecking, print, setBoundsChecking, setDescription, setDisplayName, setLargeIconUri, setLocalizedDescription, setLocalizedDisplayName, setLocalizedLargeIconUri, setLocalizedSmallIconUri, setName, setSmallIconUri, visit
-
Methods inherited from class org.glassfish.deployment.common.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Constructor Detail
-
ServiceRefPortInfo
public ServiceRefPortInfo(ServiceRefPortInfo other)
-
ServiceRefPortInfo
public ServiceRefPortInfo()
-
-
Method Detail
-
setServiceReference
public void setServiceReference(ServiceReferenceDescriptor desc)
-
getServiceReference
public ServiceReferenceDescriptor getServiceReference()
-
hasServiceEndpointInterface
public boolean hasServiceEndpointInterface()
-
setServiceEndpointInterface
public void setServiceEndpointInterface(String sei)
-
getServiceEndpointInterface
public String getServiceEndpointInterface()
-
setIsContainerManaged
public void setIsContainerManaged(boolean flag)
-
isContainerManaged
public boolean isContainerManaged()
-
isClientManaged
public boolean isClientManaged()
-
setPortComponentLinkName
public void setPortComponentLinkName(String linkName)
Sets the name of the port component to which I refer. NOTE : Does *NOT* attempt to resolve link name. Use overloaded version or resolveLink if link resolution is required.
-
setPortComponentLinkName
public WebServiceEndpoint setPortComponentLinkName(String linkName, boolean resolve)
-
hasPortComponentLinkName
public boolean hasPortComponentLinkName()
-
getPortComponentLinkName
public String getPortComponentLinkName()
-
setMessageSecurityBinding
public void setMessageSecurityBinding(MessageSecurityBindingDescriptor messageSecBindingDesc)
-
getMessageSecurityBinding
public MessageSecurityBindingDescriptor getMessageSecurityBinding()
-
isLinkedToPortComponent
public boolean isLinkedToPortComponent()
- Returns:
- true only if there is a port component link AND it has been resolved to a valid port component within the application.
-
resolveLinkName
public WebServiceEndpoint resolveLinkName()
Try to resolve the current link name value to a WebServiceEndpoint object.- Returns:
- WebServiceEndpoint to which link was resolved, or null if link name resolution failed.
-
getPortComponentLink
public WebServiceEndpoint getPortComponentLink()
-
setPortComponentLink
public void setPortComponentLink(WebServiceEndpoint newPort)
- Parameters:
portComponenet
- the port component to which I refer
-
hasWsdlPort
public boolean hasWsdlPort()
-
setWsdlPort
public void setWsdlPort(QName port)
-
getWsdlPort
public QName getWsdlPort()
-
getStubProperties
public Set getStubProperties()
-
hasStubProperty
public boolean hasStubProperty(String name)
-
getStubPropertyByName
public NameValuePairDescriptor getStubPropertyByName(String name)
-
addStubProperty
public void addStubProperty(NameValuePairDescriptor property)
Add stub property, using property name as a key. This will replace the property value of any existing stub property with the same name.
-
removeStubProperty
public void removeStubProperty(NameValuePairDescriptor property)
Remove stub property, using property name as a key. This will remove the property value of an existing stub property with the matching name.
-
addStubProperty
public void addStubProperty(String name, String value)
Add stub property, using property name as a key. This will replace the property value of any existing stub property with the same name.
-
getCallProperties
public Set getCallProperties()
-
hasCallProperty
public boolean hasCallProperty(String name)
-
getCallPropertyByName
public NameValuePairDescriptor getCallPropertyByName(String name)
-
addCallProperty
public void addCallProperty(NameValuePairDescriptor property)
Add call property, using property name as a key. This will replace the property value of any existing stub property with the same name.
-
removeCallProperty
public void removeCallProperty(NameValuePairDescriptor property)
Remove call property, using property name as a key. This will remove the property value of an existing stub property with the matching name.
-
hasTargetEndpointAddress
public boolean hasTargetEndpointAddress()
-
setTargetEndpointAddress
public void setTargetEndpointAddress(String address)
-
getTargetEndpointAddress
public String getTargetEndpointAddress()
-
setMtomEnabled
public void setMtomEnabled(String value)
-
getMtomEnabled
public String getMtomEnabled()
-
-