Package com.sun.enterprise.deployment
Class WebServiceHandlerChain
- java.lang.Object
-
- java.util.Observable
-
- org.glassfish.deployment.common.DynamicAttributesDescriptor
-
- org.glassfish.deployment.common.Descriptor
-
- com.sun.enterprise.deployment.WebServiceHandlerChain
-
- All Implemented Interfaces:
Serializable
public class WebServiceHandlerChain extends Descriptor
Represents a single handler-chains in a webservice in webservices.xml- 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 WebServiceHandlerChain()
WebServiceHandlerChain(WebServiceHandlerChain other)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addHandler(WebServiceHandler handler)
Append handler to end of handler chain for this endpoint.List<WebServiceHandler>
getHandlers()
Get ordered list of WebServiceHandler handlers for this endpoint.String
getPortNamePattern()
String
getProtocolBindings()
String
getServiceNamePattern()
boolean
hasHandlers()
void
removeHandler(WebServiceHandler handler)
void
removeHandlerByName(String handlerName)
void
setPortNamePattern(String pattern)
void
setProtocolBindings(String bindingId)
void
setServiceNamePattern(String pattern)
-
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
-
WebServiceHandlerChain
public WebServiceHandlerChain(WebServiceHandlerChain other)
-
WebServiceHandlerChain
public WebServiceHandlerChain()
-
-
Method Detail
-
setProtocolBindings
public void setProtocolBindings(String bindingId)
-
getProtocolBindings
public String getProtocolBindings()
-
setServiceNamePattern
public void setServiceNamePattern(String pattern)
-
getServiceNamePattern
public String getServiceNamePattern()
-
setPortNamePattern
public void setPortNamePattern(String pattern)
-
getPortNamePattern
public String getPortNamePattern()
-
hasHandlers
public boolean hasHandlers()
- Returns:
- true if this endpoint has at least one handler in its handler chain.
-
addHandler
public void addHandler(WebServiceHandler handler)
Append handler to end of handler chain for this endpoint.
-
removeHandler
public void removeHandler(WebServiceHandler handler)
-
removeHandlerByName
public void removeHandlerByName(String handlerName)
-
getHandlers
public List<WebServiceHandler> getHandlers()
Get ordered list of WebServiceHandler handlers for this endpoint.
-
-