Class ConstructorArgumentEntry
java.lang.Object
org.springframework.beans.factory.parsing.ConstructorArgumentEntry
- All Implemented Interfaces:
ParseState.Entry
ParseState
entry representing a (possibly indexed)
constructor argument.- Since:
- 2.0
- Author:
- Rob Harrop, Juergen Hoeller
-
Constructor Summary
ConstructorDescriptionCreates a new instance of theConstructorArgumentEntry
class representing a constructor argument with a (currently) unknown index.ConstructorArgumentEntry
(int index) Creates a new instance of theConstructorArgumentEntry
class representing a constructor argument at the suppliedindex
. -
Method Summary
-
Constructor Details
-
ConstructorArgumentEntry
public ConstructorArgumentEntry()Creates a new instance of theConstructorArgumentEntry
class representing a constructor argument with a (currently) unknown index. -
ConstructorArgumentEntry
public ConstructorArgumentEntry(int index) Creates a new instance of theConstructorArgumentEntry
class representing a constructor argument at the suppliedindex
.- Parameters:
index
- the index of the constructor argument- Throws:
IllegalArgumentException
- if the suppliedindex
is less than zero
-
-
Method Details