org.apache.felix.dm.annotation.api
Annotation Type Property


@Retention(value=CLASS)
@Target(value=ANNOTATION_TYPE)
public @interface Property

Annotation used to describe a property key-value pair. It is used when declaring Component.properties() attribute.


Required Element Summary
 String name
          Returns the property name.
 
Optional Element Summary
 String value
          Returns the property value
 String[] values
          Returns the property values as a String array).
 

Element Detail

name

public abstract String name
Returns the property name.

Returns:
this property name

value

public abstract String value
Returns the property value

Returns:
this property value
Default:
""

values

public abstract String[] values
Returns the property values as a String array).

Returns:
this property value as a String array
Default:
{}


Copyright © 2011 Apache Software Foundation. All Rights Reserved.