# Deprecated API

## Contents

- Deprecated Packages
- Deprecated Classes
- Deprecated Enums
- Deprecated Annotation Types
- Deprecated Annotation Type Elements

Deprecated Packages
Package and Description
org.apache.felix.scr.annotations Use the OSGi annotations from org.osgi.service.component.annotations.*

Deprecated Classes
Class and Description
org.apache.felix.scr.annotations.AutoDetect Use the OSGi annotations from org.osgi.service.component.annotations.*

Deprecated Enums
Enum and Description
org.apache.felix.scr.annotations.ConfigurationPolicy Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.PropertyUnbounded Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.ReferenceCardinality Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.ReferencePolicy Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.ReferencePolicyOption Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.ReferenceStrategy Use the OSGi annotations from org.osgi.service.component.annotations.*

Deprecated Annotation Types
Annotation Type and Description
org.apache.felix.scr.annotations.Activate Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Component Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Deactivate Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Modified Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Properties Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Property Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.PropertyOption Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Reference Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.References Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Service Use the OSGi annotations from org.osgi.service.component.annotations.*
org.apache.felix.scr.annotations.Services Since 1.5. It's now possible to use multiple classes in the `Service` annotation.

Deprecated Annotation Type Elements
Annotation Type Element and Description
org.apache.felix.scr.annotations.Component.componentAbstract This feature will not be supported in future versions.
org.apache.felix.scr.annotations.Component.createPid This property is handled by the Declarative Service Implementation therefore it should never be created by hand.
org.apache.felix.scr.annotations.Component.inherit This feature will not be supported in future versions.