Uses of Package
org.glassfish.hk2.api
Packages that use org.glassfish.hk2.api
Package
Description
HK2 annotations that mark components and their required dependencies. Primary API surface of HK2.
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.apiClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.A Descriptor is a bean-like structure that describes a service declaration in HK2.Implementations of this interface allow the customization of how hk2 inhabitant files are found.This describes the type of descriptorThis enumeration determines how visibility of a descriptorThis class is used to add
Descriptors to aServiceLocatorinstance.This class has information in it about the error that has occurredThis enumeration describes the types of errors that might occurThis interface should be implemented in order to provide a factory for another type.This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself.This object is used to search for items in the service registryThis class is responsible for loading classes, and different implementations can be used for different descriptors.Base class for HK2 defined runtime exceptionsAn Injectee represents the point of injection.This object contains information about a lifecycle event.This describes the type of lifecycle events that can happen in the systemContains information about the caller of aFactory.provide()methodThis object can be injected rather thanProviderwhen it is desired to iterate over more than one returned instance of the type.This is used to describe the values to be given to the method in theServiceLocator.assistedInject(Object, java.lang.reflect.Method, MethodParameter...)methodThis exception can contain multiple other exceptions.This defines the operations that may be validatedImplementations of this interface are used to populate HK2 service locators from inhabitants filesThis interface allows the customization of services read in from an external source.This service handle can be used to get a specific instance of a service, and can be used to destroy that service as wellServiceLocator is the registry for HK2 servicesThis factory can be used to create new named ServiceLocatorsTells the create method what to do if an existing ServiceLocator with the given name existsThis is added to theServiceLocatorFactoryin order to listen on service locators coming and going.The possible states in which a service locator can be in.This cache can be used in some circumstances when there can be only one of a service.Implementations of this interface can be added to aDynamicConfigurationin order to atomically participate in the changes being made to theServiceLocator.This annotation must go on a scope annotation in order to indicate that no services from this scope may be proxied.An injection point can be annotated with @Unqualified if it should only be injected with services that have no qualifiers at allThis object contains information about the validation point.This method is called when it determined that a type that is annotated with a Validating annotation is to be injected into any other class. -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extension
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.internalClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.An implementation of this must be put into the system in order to create contextual instances of services.A Descriptor is a bean-like structure that describes a service declaration in HK2.This enumeration determines how visibility of a descriptorA service that listens for dynamic configuration changes.This class has information in it about the error that has occurredThis interface should be implemented by those who wish to be notified of error conditions that occur within HK2.This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself.This object is used to search for items in the service registryThis class is responsible for loading classes, and different implementations can be used for different descriptors.This service is advertised when the Immediate service is put into the registry.This filter can be used to limit the set of Descriptors passed to the matches method.This exception can contain multiple other exceptions.This service handle can be used to get a specific instance of a service, and can be used to destroy that service as wellServiceLocator is the registry for HK2 servicesThis factory can be used to create new named ServiceLocatorsTells the create method what to do if an existing ServiceLocator with the given name existsThis is added to the
ServiceLocatorFactoryin order to listen on service locators coming and going.This cache can be used in some circumstances when there can be only one of a service.This object contains information about the validation point.This service can be used to add validation points to Descriptors.This method is called when it determined that a type that is annotated with a Validating annotation is to be injected into any other class.This annotation is used when automatically analyzing a class or a {linkFactory.provide()method to indicate that the descriptor either should or should not have LOCAL visibility. -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.utilitiesClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.Supports inline instantiation of annotation type instances.An implementation of this must be put into the system in order to create contextual instances of services.A Descriptor is a bean-like structure that describes a service declaration in HK2.Implementations of this interface allow the customization of how hk2 inhabitant files are found.Returns information about the
InputStreamreturned byDescriptorFileFinder.findDescriptorFiles()that can be used to give better information when one of the streams fails.This describes the type of descriptorThis enumeration determines how visibility of a descriptorThis class is used to addDescriptors to aServiceLocatorinstance.This class has information in it about the error that has occurredThis interface should be implemented by those who wish to be notified of error conditions that occur within HK2.This interface should be implemented in order to provide a factory for another type.This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself.This object is used to search for items in the service registryThis class is responsible for loading classes, and different implementations can be used for different descriptors.Immediate is a scope that operates likeSingletonscope, except that instances are created as soon as their correspondingDescriptors are added.This service is advertised when the Immediate service is put into the registry.This filter can be used to limit the set of Descriptors passed to the matches method.InheritableThread is a scope that operates likePerThreadscope, except with the caveat that InheritableThread scoped services provide inheritance of values from parent thread to child thread.An Injectee represents the point of injection.The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.This is used to describe the values to be given to the method in theServiceLocator.assistedInject(Object, java.lang.reflect.Method, MethodParameter...)methodThis exception can contain multiple other exceptions.PerLookup is the scope for objects that are created every time they are looked up.PerThread is a scope that operates likeSingletonscope, except on a per-thread basis.This interface allows the customization of services read in from an external source.This service handle can be used to get a specific instance of a service, and can be used to destroy that service as wellServiceLocator is the registry for HK2 servicesThis cache can be used in some circumstances when there can be only one of a service.An injection point can be annotated with @Unqualified if it should only be injected with services that have no qualifiers at allThis annotation is used when automatically analyzing a class or a {linkFactory.provide()method to indicate that the descriptor either should or should not have LOCAL visibility. -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.utilities.bindingClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.A Descriptor is a bean-like structure that describes a service declaration in HK2.This class is used to add
Descriptors to aServiceLocatorinstance.This interface should be implemented in order to provide a factory for another type.This is a convenience class that links together the factory descriptor as a factory for another type and the factory as a service itself.This object is used to search for items in the service registryThis class is responsible for loading classes, and different implementations can be used for different descriptors.This exception can contain multiple other exceptions.Implementations of this interface can be added to aDynamicConfigurationin order to atomically participate in the changes being made to theServiceLocator.Supports inline instantiation of objects that represent parameterized types with actual type parameters. -
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.annotationsClassDescriptionThis annotation is put on annotations that are used to mark things as hk2 contracts.