|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value={FIELD,ANNOTATION_TYPE}) public @interface ServiceProperty
This annotation declares a service property. It can target both fields and methods.
Optional Element Summary | |
---|---|
boolean |
immutable
Is the service property immutable ? An immutable property MUST have a value Default false |
boolean |
mandatory
Is the property mandatory? Default: false |
java.lang.String |
name
Set the property name. |
java.lang.String |
value
Set the property value. |
public abstract java.lang.String name
public abstract java.lang.String value
public abstract boolean mandatory
public abstract boolean immutable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |