org.springframework.jee.interfaces.inject
Interface InjectionI<E extends InjectionInfo>

All Known Implementing Classes:
EjbFieldInjection, EjbMethodInjection, FieldInjection, Injection, MethodInjection

public interface InjectionI<E extends InjectionInfo>

Author:
Safin Li, Michael Chen

Method Summary
 void apply(Object instance, Object value)
          Applies the given value on the instance according to the injection information - implementation specific.
 boolean containsValue()
           
 E getInfo()
           
 Member getMember()
           
 String getName()
           
 Class getType()
           
 Object getValue()
           
 void setValue(Object value)
          If this method is called, we are dealing with a literal value.
 String toString()
           
 

Method Detail

getInfo

E getInfo()

getValue

Object getValue()

setValue

void setValue(Object value)
If this method is called, we are dealing with a literal value. A lookup will not be required: the value will be set.

Parameters:
value -

containsValue

boolean containsValue()

getName

String getName()

getType

Class getType()

getMember

Member getMember()

toString

String toString()
Overrides:
toString in class Object

apply

void apply(Object instance,
           Object value)
Applies the given value on the instance according to the injection information - implementation specific.

Parameters:
instance -
value -


Copyright © 2006-2008 SpringSource (formerly Interface21). All Rights Reserved.