org.apache.axis2.jaxws.server.endpoint.injection
Interface ResourceInjector

All Known Subinterfaces:
WebServiceContextInjector
All Known Implementing Classes:
WebServiceContextInjectorImpl

public interface ResourceInjector


Method Summary
 void inject(java.lang.Object resource, java.lang.Object instance)
          Inject resource on Filed, Method or Class depending on how the @Resource annotation is defined.
 void injectOnClass(java.lang.Object resource, java.lang.Object instance, java.lang.Class clazz)
          Resource will be injection on the class.
 void injectOnField(java.lang.Object resource, java.lang.Object instance, java.lang.reflect.Field field)
          Resource will be injected on the field.
 void injectOnMethod(java.lang.Object resource, java.lang.Object instance, java.lang.reflect.Method method)
          Resource will be injected on the Method.
 

Method Detail

inject

void inject(java.lang.Object resource,
            java.lang.Object instance)
            throws ResourceInjectionException
Inject resource on Filed, Method or Class depending on how the @Resource annotation is defined.

Parameters:
resource -
instance -
Throws:
ResourceInjectionException

injectOnField

void injectOnField(java.lang.Object resource,
                   java.lang.Object instance,
                   java.lang.reflect.Field field)
                   throws ResourceInjectionException
Resource will be injected on the field.

Parameters:
resource -
instance -
field -
Throws:
ResourceInjectionException

injectOnMethod

void injectOnMethod(java.lang.Object resource,
                    java.lang.Object instance,
                    java.lang.reflect.Method method)
                    throws ResourceInjectionException
Resource will be injected on the Method.

Parameters:
resource -
instance -
method -
Throws:
ResourceInjectionException

injectOnClass

void injectOnClass(java.lang.Object resource,
                   java.lang.Object instance,
                   java.lang.Class clazz)
                   throws ResourceInjectionException
Resource will be injection on the class.

Parameters:
resource -
instance -
clazz -
Throws:
ResourceInjectionException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.