Class ValueConfig

    • Constructor Detail

      • ValueConfig

        public ValueConfig()
    • Method Detail

      • getValue

        public Object getValue​(Type type)
        Get value.
        Parameters:
        type - the type
        Returns:
        value
      • getPtValue

        protected Object getPtValue​(ParameterizedType type)
        Get value.
        Parameters:
        type - the parameterized type
        Returns:
        value
      • getClassValue

        protected abstract Object getClassValue​(Class<?> type)
        Get value, use type to narrow down exact value.
        Parameters:
        type - the injection point type
        Returns:
        value
      • getType

        public String getType()
      • setType

        public void setType​(String type)
      • getIndex

        public int getIndex()
      • setIndex

        public void setIndex​(int index)