@Target(value={METHOD,FIELD,PARAMETER}) @Retention(value=RUNTIME) @InjectAnnotation public @interface ValueMapValue
Modifier and Type | Optional Element and Description |
---|---|
InjectionStrategy |
injectionStrategy
|
String |
name
Specifies the name of the value from the value map to take.
|
boolean |
optional
Deprecated.
Use
injectionStrategy() instead |
String |
via
If set, then the child resource can be obtained via a projection of the given
property of the adaptable.
|
public abstract String name
@Deprecated public abstract boolean optional
injectionStrategy()
insteadpublic abstract InjectionStrategy injectionStrategy
Optional
, Required
) are used.
If even those are not available the default injection strategy defined on the Model
applies.
Default value = DEFAULT.public abstract String via
Copyright © 2017 The Apache Software Foundation. All rights reserved.