public class InjectionPointFactory
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected PetiteConfig |
petiteConfig |
| Constructor and Description |
|---|
InjectionPointFactory(PetiteConfig petiteConfig) |
| Modifier and Type | Method and Description |
|---|---|
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(jodd.introspector.PropertyDescriptor propertyDescriptor,
java.lang.String[] references)
Creates new property injection point.
|
SetInjectionPoint |
createSetInjectionPoint(jodd.introspector.PropertyDescriptor propertyDescriptor)
Creates new set injection point.
|
protected java.lang.String[] |
fieldDefaultReferences(jodd.introspector.PropertyDescriptor propertyDescriptor)
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) |
protected final PetiteConfig petiteConfig
public InjectionPointFactory(PetiteConfig petiteConfig)
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(jodd.introspector.PropertyDescriptor propertyDescriptor, java.lang.String[] references)
public SetInjectionPoint createSetInjectionPoint(jodd.introspector.PropertyDescriptor propertyDescriptor)
protected java.lang.String[] fieldDefaultReferences(jodd.introspector.PropertyDescriptor propertyDescriptor)
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)
Copyright © 2003-2013 Jodd Team