|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.springframework.jee.inject.Injection<E>
public abstract class Injection<E extends InjectionInfo>
Class modelling an injected member of a JEE component.
| Field Summary | |
|---|---|
protected E |
info
|
protected Member |
member
|
| Constructor Summary | |
|---|---|
Injection(Member member,
E resourceInfo)
|
|
| Method Summary | |
|---|---|
abstract void |
apply(Object instance,
Object value)
Applies the given value on the instance according to the injection information - implementation specific. |
boolean |
containsValue()
|
protected String |
getDefaultName()
Return the default name to be used if the info does not contain one. |
E |
getInfo()
|
protected abstract Class |
getMemberType()
Need to be implemented based on the member type. |
String |
getName()
|
Class |
getType()
|
Object |
getValue()
|
void |
setValue(Object value)
If this method is called, we are dealing with a literal value. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected final E extends InjectionInfo info
protected final Member member
| Constructor Detail |
|---|
public Injection(Member member,
E resourceInfo)
| Method Detail |
|---|
public E getInfo()
public Object getValue()
public void setValue(Object value)
value - public boolean containsValue()
public String getName()
public Class getType()
protected String getDefaultName()
public String toString()
toString in class Objectprotected abstract Class getMemberType()
public abstract void apply(Object instance,
Object value)
instance - value -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||