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


@Target(value=FIELD)
public @interface ServiceProperty

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

Author:
Felix Project Team

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

name

public abstract String name
Set the property name. Default : empty

Default:
""

value

public abstract String value
Set the property value. Default : empty

Default:
""

mandatory

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

Default:
false


Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.