public class WebServiceContextInjectorImpl extends Object implements WebServiceContextInjector
| Constructor and Description |
|---|
WebServiceContextInjectorImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMessageContext(javax.xml.ws.WebServiceContext wc,
javax.xml.ws.handler.MessageContext mc)
MessageContext is made availble to the endpoint instance via the WebServiceContext.
|
void |
inject(Object resource,
Object instance)
Inject resource on Filed, Method or Class depending on how the @Resource annotation is defined.
|
void |
injectOnClass(Object resource,
Object instance,
Class clazz)
Resource will be injection on the class.
|
void |
injectOnField(Object resource,
Object instance,
Field field)
Resource will be injected on the field.
|
void |
injectOnMethod(Object resource,
Object instance,
Method method)
Resource will be injected on the Method.
|
public void addMessageContext(javax.xml.ws.WebServiceContext wc, javax.xml.ws.handler.MessageContext mc)
WebServiceContextInjectoraddMessageContext in interface WebServiceContextInjectorpublic void inject(Object resource, Object instance) throws ResourceInjectionException
ResourceInjectorinject in interface ResourceInjectorResourceInjectionExceptionpublic void injectOnClass(Object resource, Object instance, Class clazz) throws ResourceInjectionException
ResourceInjectorinjectOnClass in interface ResourceInjectorResourceInjectionExceptionpublic void injectOnField(Object resource, Object instance, Field field) throws ResourceInjectionException
ResourceInjectorinjectOnField in interface ResourceInjectorResourceInjectionExceptionpublic void injectOnMethod(Object resource, Object instance, Method method) throws ResourceInjectionException
ResourceInjectorinjectOnMethod in interface ResourceInjectorResourceInjectionExceptionCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.