@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface StrutsParameter
Action
classes that are
intended for parameter injection by the ParametersInterceptor
.Modifier and Type | Optional Element and Description |
---|---|
int |
depth
The depth to which parameter injection is permitted, where a depth of 0 only allows setters/fields directly on
the action class.
|
public abstract int depth
In a practical sense, the depth dictates the number of periods or brackets that can appear in the parameter name.
Copyright © 2000–2024 Apache Software Foundation. All rights reserved.