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


@Target(value=TYPE)
public @interface Component

This annotation declares a component. This annotation is mandatory to declares an iPOJO component.

Author:
Felix Project Team

Optional Element Summary
 boolean architecture
          Enable / Disable the architecture exposition.
 boolean factory
          Set if the component type is public.
 boolean immediate
          Set if the component is immediate.
 java.lang.String managedservice
          Set the Managed Service PID.
 java.lang.String name
          Set the component type name.
 boolean propagation
          Set if the component must propagate received configuration to provided services.
 

factory

public abstract boolean factory
Set if the component type is public. Default: false

Default:
false

name

public abstract java.lang.String name
Set the component type name. Default : implementation class name.

Default:
""

architecture

public abstract boolean architecture
Enable / Disable the architecture exposition. Default : false

Default:
false

immediate

public abstract boolean immediate
Set if the component is immediate. Default : false

Default:
false

propagation

public abstract boolean propagation
Set if the component must propagate received configuration to provided services. default: false

Default:
false

managedservice

public abstract java.lang.String managedservice
Set the Managed Service PID. default no PID (i.e. the managed service will not be exposed).

Default:
""