|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjodd.petite.InjectionPointFactory
public class InjectionPointFactory
Factory for injection points. Responsible also for resolving default references when none specified.
| Field Summary | |
|---|---|
protected PetiteConfig |
petiteConfig
|
| Constructor Summary | |
|---|---|
InjectionPointFactory(PetiteConfig petiteConfig)
|
|
| Method Summary | |
|---|---|
CtorInjectionPoint |
createCtorInjectionPoint(Constructor constructor,
String[][] references)
Creates new ctor injection point. |
MethodInjectionPoint |
createMethodInjectionPoint(Method method,
String[][] references)
Creates new method injection point. |
PropertyInjectionPoint |
createPropertyInjectionPoint(Field field,
String[] references)
Creates new property injection point. |
SetInjectionPoint |
createSetInjectionPoint(Field field)
Creates new set injection point. |
protected String[] |
fieldDefaultReferences(Field field)
Builds default field references. |
protected String[][] |
methodOrCtorDefaultReferences(AccessibleObject accobj,
Class[] paramTypes)
Builds default method references. |
protected void |
removeDuplicateNames(String[] references)
Removes later duplicated references. |
protected void |
removeDuplicateNames(String[][] referencesArr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final PetiteConfig petiteConfig
| Constructor Detail |
|---|
public InjectionPointFactory(PetiteConfig petiteConfig)
| Method Detail |
|---|
public CtorInjectionPoint createCtorInjectionPoint(Constructor constructor,
String[][] references)
public MethodInjectionPoint createMethodInjectionPoint(Method method,
String[][] references)
public PropertyInjectionPoint createPropertyInjectionPoint(Field field,
String[] references)
public SetInjectionPoint createSetInjectionPoint(Field field)
protected String[] fieldDefaultReferences(Field field)
protected String[][] methodOrCtorDefaultReferences(AccessibleObject accobj,
Class[] paramTypes)
protected void removeDuplicateNames(String[][] referencesArr)
protected void removeDuplicateNames(String[] references)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||