com.sun.xml.ws.client
Class HandlerConfigurator.AnnotationConfigurator
java.lang.Object
com.sun.xml.ws.client.HandlerConfigurator
com.sun.xml.ws.client.HandlerConfigurator.AnnotationConfigurator
- Enclosing class:
- HandlerConfigurator
static final class HandlerConfigurator.AnnotationConfigurator
- extends HandlerConfigurator
Configures handlers from HandlerChain
annotation.
This class is a simple
map of PortInfo objects to handler chains. It is used by a
WSServiceDelegate
object, and can
be replaced by user code with a different class implementing
HandlerResolver. This class is only used on the client side, and
it includes a lot of logging to help when there are issues since
it deals with port names, service names, and bindings. All three
must match when getting a handler chain from the map.
It is created by the WSServiceDelegate
class , which uses HandlerAnnotationProcessor
to create
a handler chain and then it sets the chains on this class and they
are put into the map. The ServiceContext uses the map to set handler
chains on bindings when they are created.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerConfigurator.AnnotationConfigurator
HandlerConfigurator.AnnotationConfigurator(WSServiceDelegate delegate)
configureHandlers
void configureHandlers(WSPortInfo port,
BindingImpl binding)
- Description copied from class:
HandlerConfigurator
- Configures the given
BindingImpl
object by adding handlers to it.
- Specified by:
configureHandlers
in class HandlerConfigurator
getResolver
javax.xml.ws.handler.HandlerResolver getResolver()
- Description copied from class:
HandlerConfigurator
- Returns a
HandlerResolver
, if this object encapsulates any HandlerResolver
.
Otherwise null.
- Specified by:
getResolver
in class HandlerConfigurator