com.sun.xml.ws.server.sei
Class ActionBasedDispatcher
java.lang.Object
com.sun.xml.ws.server.sei.ActionBasedDispatcher
- All Implemented Interfaces:
- EndpointMethodDispatcher
final class ActionBasedDispatcher
- extends Object
- implements EndpointMethodDispatcher
An EndpointMethodDispatcher
that uses
WS-Addressing Action Message Addressing Property, wsa:Action
,
as the key for dispatching.
A map of all wsa:Actions on the port and the corresponding EndpointMethodHandler
is initialized in the constructor. The wsa:Action value is extracted from
the request Packet
and used as the key to return the correct
handler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionBasedDispatcher
public ActionBasedDispatcher(AbstractSEIModelImpl model,
WSBinding binding,
SEIInvokerTube invokerTube)
getEndpointMethodHandler
public EndpointMethodHandler getEndpointMethodHandler(Packet request)
throws DispatchException
- Description copied from interface:
EndpointMethodDispatcher
- Returns the
EndpointMethodHandler
for the request
Packet
.
- Specified by:
getEndpointMethodHandler
in interface EndpointMethodDispatcher
- Parameters:
request
- request packet
- Returns:
- non-null
EndpointMethodHandler
that will route the request packet.
null to indicate that the request packet be processed by the next available
EndpointMethodDispatcher
.
- Throws:
DispatchException
- If the request is invalid, and processing shall be aborted with a specific fault.