|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value=FIELD) @Documented public @interface Property
An annotation used for tagging advice configuration properties.
A member variable can be exposed as an advice configuration property if:
public
and
java.lang.String
Here is an example of an optional advice configuration property:
import com.tibco.bw.poa.runtime.annotation.Property;
public class MyAdviceImplementation... {
...
@Property (required = false)
public String myProperty;
...
}
Advice
,
SyncAdvice
,
AsyncAdvice
Optional Element Summary | |
---|---|
boolean |
required
Used for making an advice configuration property required |
public abstract boolean required
A required advice configuration property must be set in the aspect
file.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |