@Qualifier @Retention(value=RUNTIME) @Target(value={PARAMETER,FIELD,METHOD,CONSTRUCTOR}) public @interface Property
Modifier and Type | Optional Element and Description |
---|---|
String |
converter
Specifies the name of a property converter to use when converting
string representations of property values to an instance of the target
type of the injection point.
|
String |
name
Name of the property to inject.
|
String |
value
Provides a default value when there is no other value to inject into
the target.
|
public abstract String name
The name defaults to fully qualified name of the annotated member when not specified.
public abstract String value
public abstract String converter
PropertyConverter.getName()
)Copyright © 2014–2016. All rights reserved.