org.osgi.service.component.annotations
Annotation Type Activate


@Retention(value=CLASS)
@Target(value=METHOD)
public @interface Activate

Identify the annotated method as the activate method of a Service Component.

The annotated method is the activate method of the Component.

This annotation is not processed at runtime by a Service Component Runtime implementation. It must be processed by tools and used to add a Component Description to the bundle.

Since:
1.1
Version:
$Id: 65132e7c194aae7a05079acea248dbe8673c904c $
See Also:
"The activate attribute of the component element of a Component Description."



Copyright © 2014 aQute SARL. All rights reserved.