org.springframework.jee.inject
Class MethodInjection

java.lang.Object
  extended by org.springframework.jee.inject.Injection
      extended by org.springframework.jee.inject.MethodInjection

public class MethodInjection
extends Injection

JSR 250 method level injection.

Author:
Rod Johnson

Field Summary
 
Fields inherited from class org.springframework.jee.inject.Injection
member
 
Constructor Summary
MethodInjection(java.lang.reflect.Method m)
           
MethodInjection(java.lang.reflect.Method m, ResourceInfo ri)
           
 
Method Summary
 void apply(java.lang.Object instance, java.lang.Object value)
           
protected  java.lang.Class getMemberType()
           
 
Methods inherited from class org.springframework.jee.inject.Injection
containsValue, getName, getResourceInfo, getType, getValue, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MethodInjection

public MethodInjection(java.lang.reflect.Method m,
                       ResourceInfo ri)

MethodInjection

public MethodInjection(java.lang.reflect.Method m)
Method Detail

apply

public void apply(java.lang.Object instance,
                  java.lang.Object value)
Specified by:
apply in class Injection

getMemberType

protected java.lang.Class getMemberType()
Specified by:
getMemberType in class Injection


Copyright 2006 Interface21. All Rights Reserved.