OSGi™ Enterprise
Release 5

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


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

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

The annotated method is the deactivate 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
See Also:
"The deactivate attribute of the component element of a Component Description."


OSGi™ Enterprise
Release 5

Copyright © OSGi Alliance (2000, 2012). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0