public class WebServiceContextInjectorImpl extends Object implements WebServiceContextInjector
Constructor and Description |
---|
WebServiceContextInjectorImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addMessageContext(WebServiceContext wc,
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(WebServiceContext wc, MessageContext mc)
WebServiceContextInjector
addMessageContext
in interface WebServiceContextInjector
public void inject(Object resource, Object instance) throws ResourceInjectionException
ResourceInjector
inject
in interface ResourceInjector
ResourceInjectionException
public void injectOnClass(Object resource, Object instance, Class clazz) throws ResourceInjectionException
ResourceInjector
injectOnClass
in interface ResourceInjector
ResourceInjectionException
public void injectOnField(Object resource, Object instance, Field field) throws ResourceInjectionException
ResourceInjector
injectOnField
in interface ResourceInjector
ResourceInjectionException
public void injectOnMethod(Object resource, Object instance, Method method) throws ResourceInjectionException
ResourceInjector
injectOnMethod
in interface ResourceInjector
ResourceInjectionException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.