Package com.sun.enterprise.deployment
Class WebService
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.WebService
-
- All Implemented Interfaces:
Serializable
public class WebService extends Descriptor
Information about a single webservice-description in webservices.xml- Author:
- Kenneth Saks, Jerome Dochez
- 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 WebService()Default constructor.WebService(WebService other)copy constructor.WebService(String name)
-
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, 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
-
WebService
public WebService()
Default constructor.
-
WebService
public WebService(WebService other)
copy constructor.
-
WebService
public WebService(String name)
-
-
Method Detail
-
getType
public String getType()
-
setType
public void setType(String type)
-
isJaxWSBased
public Boolean isJaxWSBased()
If this returns non-null value, then it is verified that all the endpoints are of the same type.- Returns:
-
setJaxWSBased
public void setJaxWSBased(boolean isJaxWSBased)
This is called after verifying that all the endpoints are of the same type, either JAX-WS or JAX-RPC- Parameters:
isJaxWSBased-
-
setWebServicesDescriptor
public void setWebServicesDescriptor(WebServicesDescriptor webServices)
-
getWebServicesDescriptor
public WebServicesDescriptor getWebServicesDescriptor()
-
getBundleDescriptor
public BundleDescriptor getBundleDescriptor()
-
hasWsdlFile
public boolean hasWsdlFile()
-
setWsdlFileUri
public void setWsdlFileUri(String uri)
-
getWsdlFileUri
public String getWsdlFileUri()
-
getWsdlFileUrl
public URL getWsdlFileUrl()
-
setWsdlFileUrl
public void setWsdlFileUrl(URL url)
-
getGeneratedWsdlFilePath
public String getGeneratedWsdlFilePath()
-
hasMappingFile
public boolean hasMappingFile()
-
setMappingFileUri
public void setMappingFileUri(String uri)
-
getMappingFileUri
public String getMappingFileUri()
-
getMappingFile
public File getMappingFile()
-
setMappingFile
public void setMappingFile(File file)
-
addEndpoint
public void addEndpoint(WebServiceEndpoint endpoint)
-
removeEndpointByName
public void removeEndpointByName(String endpointName)
-
getEndpointByName
public WebServiceEndpoint getEndpointByName(String name)
-
removeEndpoint
public void removeEndpoint(WebServiceEndpoint endpoint)
-
getEndpoints
public Collection<WebServiceEndpoint> getEndpoints()
-
hasClientPublishUrl
public boolean hasClientPublishUrl()
-
setClientPublishUrl
public void setClientPublishUrl(URL url)
-
getClientPublishUrl
public URL getClientPublishUrl()
-
hasUrlPublishing
public boolean hasUrlPublishing()
-
hasFilePublishing
public boolean hasFilePublishing()
-
pickEndpointForRelativeImports
public WebServiceEndpoint pickEndpointForRelativeImports()
Select one of this webservice's endpoints to use for converting relative imports.
-
print
public void print(StringBuilder toStringBuilder)
Returns a formatted String of the attributes of this object.- Overrides:
printin classDescriptor
-
-