Package jodd.petite.def
Class SetInjectionPoint<T>
- java.lang.Object
-
- jodd.petite.def.SetInjectionPoint<T>
-
public class SetInjectionPoint<T> extends java.lang.ObjectSet injection point.
-
-
Field Summary
Fields Modifier and Type Field Description static SetInjectionPoint[]EMPTYjodd.introspector.PropertyDescriptorpropertyDescriptorjava.lang.ClasstargetClassjava.lang.Class<T>type
-
Constructor Summary
Constructors Constructor Description SetInjectionPoint(jodd.introspector.PropertyDescriptor propertyDescriptor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<T>createSet(int length)Creates target set for injection.protected java.lang.Class<T>resolveSetType(jodd.introspector.PropertyDescriptor propertyDescriptor)
-
-
-
Field Detail
-
EMPTY
public static final SetInjectionPoint[] EMPTY
-
propertyDescriptor
public final jodd.introspector.PropertyDescriptor propertyDescriptor
-
type
public final java.lang.Class<T> type
-
targetClass
public final java.lang.Class targetClass
-
-
Method Detail
-
resolveSetType
protected java.lang.Class<T> resolveSetType(jodd.introspector.PropertyDescriptor propertyDescriptor)
-
createSet
public java.util.Collection<T> createSet(int length)
Creates target set for injection. For now it createsHashSet, but custom implementation can change this setting.
-
-