com.sun.enterprise.deployment
Class WebServiceHandler

java.lang.Object
  extended by java.util.Observable
      extended by com.sun.enterprise.deployment.DynamicAttributesDescriptor
          extended by com.sun.enterprise.deployment.Descriptor
              extended by com.sun.enterprise.deployment.WebServiceHandler
All Implemented Interfaces:
java.io.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 com.sun.enterprise.deployment.Descriptor
DESCRIPTION_CHANGED, DESCRIPTOR_CHANGED, docType, LARGE_ICON_CHANGED, NAME_CHANGED, SMALL_ICON_CHANGED
 
Constructor Summary
WebServiceHandler()
           
WebServiceHandler(WebServiceHandler other)
          copy constructor.
 
Method Summary
 void addInitParam(NameValuePairDescriptor newInitParam)
          add an init param to this handler
 void addPortName(java.lang.String portName)
           
 void addSoapHeader(javax.xml.namespace.QName soapHeader)
           
 void addSoapRole(java.lang.String soapRole)
           
 java.lang.String getHandlerClass()
           
 java.lang.String getHandlerName()
           
 java.util.Collection getInitParams()
           
 java.util.Collection getPortNames()
           
 java.util.Collection getSoapHeaders()
           
 java.util.Collection getSoapRoles()
           
 void print(java.lang.StringBuffer toStringBuffer)
          A String representation of this object.
 void removeInitParam(NameValuePairDescriptor initParamToRemove)
          remove an init param from this handler
 void removePortName(java.lang.String portName)
           
 void removeSoapHeader(javax.xml.namespace.QName soapHeader)
           
 void removeSoapRole(java.lang.String soapRole)
           
 void setHandlerClass(java.lang.String className)
          Sets the class name for this handler
 void setHandlerName(java.lang.String name)
           
 
Methods inherited from class com.sun.enterprise.deployment.Descriptor
addDeploymentExtension, addPrefixMapping, createUniqueFilenameAmongst, createUniqueNameAmongst, createUniqueNameAmongstNamedDescriptors, fillDocType, getDeploymentExtensions, getDescription, 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 com.sun.enterprise.deployment.DynamicAttributesDescriptor
addExtraAttribute, getExtraAttribute, getExtraAttributes, removeExtraAttribute, toString
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WebServiceHandler

public WebServiceHandler(WebServiceHandler other)
copy constructor.


WebServiceHandler

public WebServiceHandler()
Method Detail

setHandlerClass

public void setHandlerClass(java.lang.String className)
Sets the class name for this handler

Parameters:
class - name

getHandlerClass

public java.lang.String getHandlerClass()
Returns:
the class name for this handler

setHandlerName

public void setHandlerName(java.lang.String name)

getHandlerName

public java.lang.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 java.util.Collection getInitParams()
Returns:
the list of init params for this handler

addSoapHeader

public void addSoapHeader(javax.xml.namespace.QName soapHeader)

removeSoapHeader

public void removeSoapHeader(javax.xml.namespace.QName soapHeader)

getSoapHeaders

public java.util.Collection getSoapHeaders()

addSoapRole

public void addSoapRole(java.lang.String soapRole)

removeSoapRole

public void removeSoapRole(java.lang.String soapRole)

getSoapRoles

public java.util.Collection getSoapRoles()

addPortName

public void addPortName(java.lang.String portName)

removePortName

public void removePortName(java.lang.String portName)

getPortNames

public java.util.Collection getPortNames()

print

public void print(java.lang.StringBuffer toStringBuffer)
Description copied from class: Descriptor
A String representation of this object.

Overrides:
print in class Descriptor


Copyright © 2012 GlassFish Community. All Rights Reserved.