Package com.sun.enterprise.deployment
Class WebServiceHandler
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.WebServiceHandler
-
- All Implemented Interfaces:
Serializable
public class WebServiceHandler extends Descriptor
This class describes a web service message handler.- Author:
- Jerome Dochez, 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 WebServiceHandler()WebServiceHandler(WebServiceHandler other)copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddInitParam(NameValuePairDescriptor newInitParam)add an init param to this handlervoidaddPortName(String portName)voidaddSoapHeader(QName soapHeader)voidaddSoapRole(String soapRole)StringgetHandlerClass()StringgetHandlerName()CollectiongetInitParams()CollectiongetPortNames()CollectiongetSoapHeaders()CollectiongetSoapRoles()voidprint(StringBuilder toStringBuilder)A String representation of this object.voidremoveInitParam(NameValuePairDescriptor initParamToRemove)remove an init param from this handlervoidremovePortName(String portName)voidremoveSoapHeader(QName soapHeader)voidremoveSoapRole(String soapRole)voidsetHandlerClass(String className)Sets the class name for this handlervoidsetHandlerName(String name)-
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
-
WebServiceHandler
public WebServiceHandler(WebServiceHandler other)
copy constructor.
-
WebServiceHandler
public WebServiceHandler()
-
-
Method Detail
-
setHandlerClass
public void setHandlerClass(String className)
Sets the class name for this handler- Parameters:
class- name
-
getHandlerClass
public String getHandlerClass()
- Returns:
- the class name for this handler
-
setHandlerName
public void setHandlerName(String name)
-
getHandlerName
public String getHandlerName()
-
addInitParam
public void addInitParam(NameValuePairDescriptor newInitParam)
add an init param to this handler- Parameters:
the- init param
-
removeInitParam
public void removeInitParam(NameValuePairDescriptor initParamToRemove)
remove an init param from this handler- Parameters:
the- init param
-
getInitParams
public Collection getInitParams()
- Returns:
- the list of init params for this handler
-
addSoapHeader
public void addSoapHeader(QName soapHeader)
-
removeSoapHeader
public void removeSoapHeader(QName soapHeader)
-
getSoapHeaders
public Collection getSoapHeaders()
-
addSoapRole
public void addSoapRole(String soapRole)
-
removeSoapRole
public void removeSoapRole(String soapRole)
-
getSoapRoles
public Collection getSoapRoles()
-
addPortName
public void addPortName(String portName)
-
removePortName
public void removePortName(String portName)
-
getPortNames
public Collection getPortNames()
-
print
public void print(StringBuilder toStringBuilder)
Description copied from class:DescriptorA String representation of this object.- Overrides:
printin classDescriptor
-
-