Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Enum Classes
  • Annotation Interfaces
  • Fields
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Deprecated Interfaces
    Interface
    Description
    aQute.bnd.help.Warnings
  • Deprecated Classes
    Class
    Description
    aQute.bnd.filerepo.FileRepo
    aQute.bnd.junit.ConsoleLogger
    aQute.bnd.junit.JUnitFramework
    aQute.bnd.maven.MavenRepository
    aQute.bnd.osgi.Classpath
    aQute.bnd.osgi.Clazz.Assoc
    aQute.bnd.osgi.Clazz.ClassConstant
    aQute.bnd.osgi.Descriptors.Signature
    aQute.bnd.osgi.resource.PersistentResource.RC
    aQute.lib.properties.PropertiesParser
  • Deprecated Enum Classes
    Enum Class
    Description
    aQute.bnd.annotation.component.ConfigurationPolicy
    aQute.bnd.annotation.headers.Resolution
    see org.osgi.annotation.bundle.Requirement.Resolution
    aQute.bnd.osgi.Descriptors.SignatureType
  • Deprecated Annotation Interfaces
    Annotation Interface
    Description
    aQute.bnd.annotation.component.Activate
    aQute.bnd.annotation.component.Component
    aQute.bnd.annotation.component.Deactivate
    aQute.bnd.annotation.component.Modified
    aQute.bnd.annotation.component.Reference
    aQute.bnd.annotation.headers.ProvideCapability
    see org.osgi.annotation.bundle.Capability
    aQute.bnd.annotation.headers.RequireCapability
    see org.osgi.annotation.bundle.Requirement
    aQute.bnd.annotation.licenses.ASL_2_0
    Replaced by Apache_2_0.
    aQute.bnd.annotation.licenses.GPL_2_0
    Replaced by GPL_2_0_only or GPL_2_0_or_later.
    aQute.bnd.annotation.licenses.GPL_3_0
    Replaced by GPL_3_0_only or GPL_3_0_or_later.
    aQute.bnd.annotation.licenses.LGPL_2_1
    Replaced by LGPL_2_1_only or LGPL_2_1_or_later.
    aQute.bnd.annotation.licenses.MIT_1_0
    Replaced by MIT.
  • Deprecated Fields
    Field
    Description
    aQute.bnd.build.Workspace.BNDDIR
    aQute.bnd.differ.Baseline.BundleInfo.version
    aQute.bnd.http.HttpClient.sdf
    aQute.bnd.osgi.Constants.BUILDPACKAGES
    aQute.bnd.osgi.Constants.CACHEDIR
    aQute.bnd.osgi.Constants.COMPILER_SOURCE
    aQute.bnd.osgi.Constants.COMPILER_TARGET
    aQute.bnd.osgi.Constants.DEBUG
    aQute.bnd.osgi.Constants.EXPERIMENTS
    aQute.bnd.osgi.Constants.PACKAGE
    aQute.bnd.osgi.Constants.RUNPATH_LAUNCHER_DIRECTIVE
    aQute.bnd.osgi.Constants.RUNPATH_MAIN_DIRECTIVE
    aQute.bnd.osgi.Constants.RUNREQUIRE
    This is for support of the legacy OBR requirement format, use Constants.RUNREQUIRES for new format.
    aQute.bnd.osgi.Constants.TESTREPORT
    aQute.bnd.osgi.Constants.TESTSUITES
    aQute.bnd.osgi.Constants.VERBOSE
    aQute.bnd.service.specifications.BuilderSpecification.inherit
  • Deprecated Methods
    Method
    Description
    aQute.bnd.annotation.component.Component.configurationPolicy()
     
    aQute.bnd.annotation.headers.RequireCapability.resolution()
     
    aQute.bnd.ant.BaseTask.progress(float, String, Object...)
    Use SLF4J Logger.info() instead.
    aQute.bnd.ant.BaseTask.trace(String, Object...)
    Use SLF4J Logger.debug instead.
    aQute.bnd.build.model.BndEditModel.getBuildPackages()
    aQute.bnd.build.model.BndEditModel.setBuildPackages(List<? extends VersionedClause>)
    aQute.bnd.build.Project.export(String, boolean, File)
    aQute.bnd.build.Project.getSrc()
    aQute.bnd.build.Project.getSubBuilders()
    As of 3.4. Replace with
                 try (ProjectBuilder pb = getBuilder(null)) {
                    for (Builder b : pb.getSubBuilders()) {
                            ...
                    }
                 }
                 
    aQute.bnd.build.ProjectLauncher.getArguments()
    aQute.bnd.component.annotations.Component.servicefactory()
    Since 1.3. Replaced by Component.scope().
    aQute.bnd.header.Attrs.containsKey(Object)
    aQute.bnd.header.Attrs.containsValue(Object)
    aQute.bnd.header.Attrs.equals(Object)
    aQute.bnd.header.Attrs.get(Object)
    aQute.bnd.header.Attrs.hashCode()
    aQute.bnd.header.Attrs.remove(Object)
    aQute.bnd.header.Parameters.containsKey(Object)
    aQute.bnd.header.Parameters.containsValue(Object)
    aQute.bnd.header.Parameters.equals(Object)
    aQute.bnd.header.Parameters.get(Object)
    aQute.bnd.header.Parameters.hashCode()
    aQute.bnd.header.Parameters.remove(Object)
    aQute.bnd.osgi.Annotation.getElementType()
    aQute.bnd.osgi.Clazz.Def.getAnnotations()
    aQute.bnd.osgi.Clazz.FieldDef.setConstant(Object)
    aQute.bnd.osgi.Clazz.FieldDef.setDeprecated(boolean)
    aQute.bnd.osgi.Clazz.getMethodDef(int, String, String)
    aQute.bnd.osgi.Clazz.parseDescriptor(String, int)
    aQute.bnd.osgi.Clazz.reset()
    aQute.bnd.osgi.Clazz.setDeprecated(boolean)
    aQute.bnd.osgi.Clazz.setInnerAccess(int)
    aQute.bnd.osgi.Instructions.containsKey(Object)
    aQute.bnd.osgi.Instructions.containsValue(Object)
    aQute.bnd.osgi.Instructions.get(Object)
    aQute.bnd.osgi.Instructions.remove(Object)
    aQute.bnd.osgi.Instructions.select(File)
    aQute.bnd.osgi.Packages.containsKey(Object)
    aQute.bnd.osgi.Packages.containsValue(Object)
    aQute.bnd.osgi.Packages.equals(Object)
    aQute.bnd.osgi.Packages.get(Object)
    aQute.bnd.osgi.Packages.hashCode()
    aQute.bnd.osgi.Packages.remove(Object)
    aQute.bnd.osgi.Processor.CL.getURLs()
    aQute.bnd.osgi.Processor.progress(float, String, Object...)
    Use SLF4J Logger.info() instead.
    aQute.bnd.osgi.resource.PersistentResource.getCapabilities(String)
    aQute.bnd.osgi.resource.PersistentResource.getData(Map<String, Object>, Map<String, String>)
    aQute.bnd.osgi.resource.PersistentResource.getRequirements(String)
    aQute.bnd.url.DefaultURLConnectionHandler.progress(float, String, Object...)
    Use SLF4J Logger.info() instead.
    aQute.bnd.url.DefaultURLConnectionHandler.trace(String, Object...)
    Use SLF4J Logger.debug instead.
    aQute.lib.collections.SortedList.add(int, T)
    aQute.lib.collections.SortedList.addAll(int, Collection<? extends T>)
    aQute.lib.collections.SortedList.equals(Object)
    aQute.lib.collections.SortedList.hashCode()
    aQute.lib.collections.SortedList.It.add(T)
    aQute.lib.collections.SortedList.It.remove()
    aQute.lib.collections.SortedList.It.set(T)
    aQute.lib.collections.SortedList.remove(int)
    aQute.lib.collections.SortedList.set(int, T)
    aQute.lib.env.Header.containsKey(Object)
    aQute.lib.env.Header.containsValue(Object)
    aQute.lib.env.Header.equals(Object)
    aQute.lib.env.Header.get(Object)
    aQute.lib.env.Header.hashCode()
    aQute.lib.env.Header.remove(Object)
    aQute.lib.env.Props.containsKey(Object)
    aQute.lib.env.Props.containsValue(Object)
    aQute.lib.env.Props.equals(Object)
    aQute.lib.env.Props.get(Object)
    aQute.lib.env.Props.hashCode()
    aQute.lib.env.Props.remove(Object)
    aQute.lib.env.Sieve.containsKey(Object)
    aQute.lib.env.Sieve.containsValue(Object)
    aQute.lib.env.Sieve.get(Object)
    aQute.lib.env.Sieve.remove(Object)
    aQute.lib.io.ByteBufferDataInput.readLine()
    aQute.lib.io.LimitedDataInput.readLine()
    aQute.libg.parameters.Attributes.containsKey(Object)
    aQute.libg.parameters.Attributes.containsValue(Object)
    aQute.libg.parameters.Attributes.equals(Object)
    aQute.libg.parameters.Attributes.get(Object)
    aQute.libg.parameters.Attributes.hashCode()
    aQute.libg.parameters.Attributes.remove(Object)
    aQute.libg.reporter.ReporterAdapter.progress(float, String, Object...)
    Use SLF4J Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE) instead.
    aQute.libg.reporter.slf4j.Slf4jReporter.progress(float, String, Object...)
    Use SLF4J Logger.info() instead.
    aQute.service.reporter.Reporter.progress(float, String, Object...)
    Use SLF4J Logger.info(aQute.libg.slf4j.GradleLogging.LIFECYCLE) instead.
  • Deprecated Constructors
    Constructor
    Description
    aQute.bnd.http.URLCache.Info(URI)
    aQute.bnd.osgi.Annotation(Descriptors.TypeRef, Map<String, Object>, ElementType, RetentionPolicy)
    aQute.bnd.osgi.Clazz.FieldDef(int, String, String)
    aQute.bnd.osgi.Clazz.MethodDef(int, String, String)
    aQute.bnd.osgi.resource.PersistentResource(byte[], List<Capability>, List<Requirement>)
    aQute.bnd.service.url.TaggedData(String, InputStream)
    aQute.bnd.service.url.TaggedData(String, InputStream, int)
    aQute.bnd.service.url.TaggedData(String, InputStream, int, long, URI)
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    aQute.bnd.annotation.component.Component.configurationPolicy()
     
    aQute.bnd.annotation.headers.RequireCapability.resolution()
     
    aQute.bnd.component.annotations.Component.servicefactory()
    Since 1.3. Replaced by Component.scope().