Class SetInjectionPoint<T>


  • public class SetInjectionPoint<T>
    extends java.lang.Object
    Set injection point.
    • 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)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • propertyDescriptor

        public final jodd.introspector.PropertyDescriptor propertyDescriptor
      • type

        public final java.lang.Class<T> type
      • targetClass

        public final java.lang.Class targetClass
    • Constructor Detail

      • SetInjectionPoint

        public SetInjectionPoint​(jodd.introspector.PropertyDescriptor propertyDescriptor)
    • 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 creates HashSet, but custom implementation can change this setting.