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


@Target(value=TYPE)
public @interface Provides

This annotation declares that the component instances will provide a service.

Author:
Felix Project Team

Optional Element Summary
 java.lang.String factory
          Set the service object creation policy.
 java.lang.Class[] specifications
          Set the provided specifications.
 

specifications

public abstract java.lang.Class[] specifications
Set the provided specifications. Default : all implemented interfaces

Default:
{}

factory

public abstract java.lang.String factory
Set the service object creation policy. Two value are possible: SINGLETON or FACTORY. FACTORY means OSGi Service Factory. Default : SINGLETON

Default:
"SINGLETON"