Determines the instance that serves
the given request packet.
The JAX-WS spec always use a singleton instance
to serve all the requests, but this hook provides
a convenient way to route messages to a proper receiver.
Externally, an instance of
InstanceResolver is
associated with
WSEndpoint .
Possible Uses
One can use WS-Addressing message properties to
decide which instance to deliver a message. This
would be an important building block for a stateful
web services.
One can associate an instance of a service
with a specific WS-RM session.
author: Kohsuke Kawaguchi |