|
|||||||||
| 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(java.lang.reflect.Constructor constructor,
java.lang.String[][] references)
Creates new ctor injection point. |
MethodInjectionPoint |
createMethodInjectionPoint(java.lang.reflect.Method method,
java.lang.String[][] references)
Creates new method injection point. |
PropertyInjectionPoint |
createPropertyInjectionPoint(java.lang.reflect.Field field,
java.lang.String[] references)
Creates new property injection point. |
SetInjectionPoint |
createSetInjectionPoint(java.lang.reflect.Field field)
Creates new set injection point. |
protected java.lang.String[] |
fieldDefaultReferences(java.lang.reflect.Field field)
Builds default field references. |
protected java.lang.String[][] |
methodOrCtorDefaultReferences(java.lang.reflect.AccessibleObject accobj,
java.lang.Class[] paramTypes)
Builds default method references. |
protected void |
removeDuplicateNames(java.lang.String[] references)
Removes later duplicated references. |
protected void |
removeDuplicateNames(java.lang.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(java.lang.reflect.Constructor constructor,
java.lang.String[][] references)
public MethodInjectionPoint createMethodInjectionPoint(java.lang.reflect.Method method,
java.lang.String[][] references)
public PropertyInjectionPoint createPropertyInjectionPoint(java.lang.reflect.Field field,
java.lang.String[] references)
public SetInjectionPoint createSetInjectionPoint(java.lang.reflect.Field field)
protected java.lang.String[] fieldDefaultReferences(java.lang.reflect.Field field)
protected java.lang.String[][] methodOrCtorDefaultReferences(java.lang.reflect.AccessibleObject accobj,
java.lang.Class[] paramTypes)
protected void removeDuplicateNames(java.lang.String[][] referencesArr)
protected void removeDuplicateNames(java.lang.String[] references)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||