com.tibco.bw.poa.runtime.annotation
Annotation Type Property


@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:

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;
     ...
 }
 

Since:
1.0
See Also:
Advice, SyncAdvice, AsyncAdvice

Optional Element Summary
 boolean required
          Used for making an advice configuration property required
 

required


public abstract boolean required
Used for making an advice configuration property required

A required advice configuration property must be set in the aspect file.

Returns:
Default:
true


Copyright @ 2010, TIBCO Softwares (Inc). All right reserved