static final class HandlerConfigurator.AnnotationConfigurator extends HandlerConfigurator
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.
HandlerConfigurator.AnnotationConfigurator, HandlerConfigurator.HandlerResolverImpl
Constructor and Description |
---|
AnnotationConfigurator(WSServiceDelegate delegate) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
configureHandlers(WSPortInfo port,
BindingImpl binding)
Configures the given
BindingImpl object by adding handlers to it. |
(package private) HandlerResolver |
getResolver()
Returns a
HandlerResolver , if this object encapsulates any HandlerResolver . |
AnnotationConfigurator(WSServiceDelegate delegate)
void configureHandlers(WSPortInfo port, BindingImpl binding)
HandlerConfigurator
BindingImpl
object by adding handlers to it.configureHandlers
in class HandlerConfigurator
HandlerResolver getResolver()
HandlerConfigurator
HandlerResolver
, if this object encapsulates any HandlerResolver
.
Otherwise null.getResolver
in class HandlerConfigurator
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.