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


@Target(value={})
public @interface StaticServiceProperty

This annotation declares a static service property.

Author:
Felix Project Team

Required Element Summary
 java.lang.String name
          Set the property name.
 java.lang.String type
          Set the type.
 
Optional Element Summary
 boolean immutable
          Is the property immutable ? An immutable property MUST have a value Default: false
 boolean mandatory
          Is the property mandatory? Default: false
 java.lang.String value
          Set the property value.
 

Element Detail

name

public abstract java.lang.String name
Set the property name. This name is mandatory for static properties.


type

public abstract java.lang.String type
Set the type. This value is required only for static properties.

value

public abstract java.lang.String value
Set the 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 ? An immutable property MUST have a value Default: false

Default:
false


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