Top Deprecated By Reference
hk2 4.0.1

Deprecated API


No API in this release is deprecated for removal.

Deprecated Item Summary

SinceDeprecated Item and Description

Returns:

The service matching this descriptor
org.glassfish.hk2.api.ServiceLocator.getService
(ActiveDescriptor<T>
The descriptor whose service to create
activeDescriptor
,
ServiceHandle<?>
The ultimate parent of this service creation. May be null
root
)

use ServiceLocator#getService(ActiveDescriptor, ServiceHandle, Injectee)

org.glassfish.hk2.bootstrap.impl.ClasspathDescriptorFileFinder

Use org.glassfish.hk2.utilities.ClasspathDescriptorFileFinder

org.glassfish.hk2.classmodel.reflect.ArchiveAdapter.Entry(String
the entry name
name
,
long
the entry size
size
,
boolean
true if this entry is a directory
isDirectory
)

Use the other constructor, isDirectory is not used

Returns:

The descriptor that has been built up, of type PROVIDE_METHOD
org.glassfish.hk2.utilities.ActiveDescriptorBuilder.buildFactory
()

Use buildProvideMethod instead

Returns:

The number of spaces in each indentation step, or 0 or less for no indentation.
org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter.getIndentStep
()

Only return the length of the indent string.

org.glassfish.hk2.utilities.general.IndentingXMLStreamWriter.setIndentStep(int
The new indent step (0 or less for no indentation).
indentStep
)

Should use the version that takes string.

Deprecated Reference Summary

SinceItem with Deprecated Reference and Description
org.glassfish.hk2.classmodel.reflect.util.CommonModelRegistry.pkgAdmin

PackageAdmin is deprecated or references (maybe indirectly) at least one deprecated element.

org.glassfish.hk2.classmodel.reflect.util.CommonModelRegistry.initialize(BundleContext ctx, PackageAdmin pkgAdmin)

PackageAdmin is deprecated or references (maybe indirectly) at least one deprecated element.