org.apache.felix.ipojo.annotations
Annotation Type Property


@Target(value={FIELD,METHOD,PARAMETER,ANNOTATION_TYPE})
public @interface Property

This annotation declares a component property. It can target both fields and methods.

Author:
Felix Project Team

Optional Element Summary
 boolean immutable
          Is the property immutable? Default: false
 boolean mandatory
          Is the property mandatory? Default: false
 java.lang.String name
          Set property name.
 java.lang.String value
          Set property value.
 

name

public abstract java.lang.String name
Set property name. Default : empty

Default:
""

value

public abstract java.lang.String value
Set property value. Default : empty

Default:
""

mandatory

public abstract boolean mandatory
Is the property mandatory? Default: false

Default:
false

immutable

public abstract boolean immutable
Is the property immutable? Default: false

Default:
false


Copyright © 2006-2013 The Apache Software Foundation. All Rights Reserved.