| java.lang.Object com.sun.xml.ws.api.client.ServiceInterceptor
ServiceInterceptor | abstract public class ServiceInterceptor (Code) | | Interception point for inner working of
WSService .
System-level code could hook an implementation of this to
WSService to augument its behavior.
author: Kohsuke Kawaguchi since: 2.1 EA3 See Also: ServiceInterceptorFactory |
postCreateDispatch | public void postCreateDispatch(WSBindingProvider bp)(Code) | | A callback to notify that a
Dispatch object is created. The callback
could set some properties on the
BindingProvider .
Parameters: bp - BindingProvider of dispatch object |
postCreateProxy | public void postCreateProxy(WSBindingProvider bp, Class> serviceEndpointInterface)(Code) | | A callback to notify the event of creation of proxy object for SEI endpoint. The
callback could set some properties on the
BindingProvider .
Parameters: bp - created proxy instance Parameters: serviceEndpointInterface - SEI of the endpoint |
preCreateBinding | public List<WebServiceFeature> preCreateBinding(WSPortInfo port, Class> serviceEndpointInterface, WSFeatureList defaultFeatures)(Code) | | Called before
WSBinding is created, to allow interceptors
to add
WebServiceFeature s to the created
WSBinding .
Parameters: port - Information about the port for which dispatch/proxy will be created. Parameters: serviceEndpointInterface - Null if the created binding is for Dispatch. Otheriwseit represents the port interface of the proxy to be created. Parameters: defaultFeatures - The list of features that are currently scheduled to be set forthe newly created WSBinding.A set of features to be added to the newly created WSBinding.Can be empty but never null.defaultFeatures will take precedence over what this methodwould return (because it includes user-specified ones which willtake the at-most priority), but features you return from this methodwill take precedence over BindingID'sBindingID.createBuiltinFeatureList implicit features. |
|
|