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 com.sun.enterprise.moduleClassDescriptionA Descriptor is a bean-like structure that describes a service declaration in HK2.This exception can contain multiple other exceptions.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by com.sun.enterprise.module.bootstrapClassDescriptionA 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 object is used to search for items in the service registryBase class for HK2 defined checked exceptionsThis filter can be used to limit the set of Descriptors passed to the matches method.PerLookup is the scope for objects that are created every time they are looked up.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by com.sun.enterprise.module.common_implClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.This exception can contain multiple other exceptions.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by com.sun.enterprise.module.implClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by com.sun.enterprise.module.singleClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.This exception can contain multiple other exceptions.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
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
Descriptor
s to aServiceLocator
instance.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 thanProvider
when 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 theServiceLocatorFactory
in 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 aDynamicConfiguration
in 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.bootstrapClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.Implementations of this interface allow the customization of how hk2 inhabitant files are found.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.bootstrap.implClassDescriptionImplementations of this interface allow the customization of how hk2 inhabitant files are found.Returns information about the
InputStream
returned byDescriptorFileFinder.findDescriptorFiles()
that can be used to give better information when one of the streams fails.This class is responsible for loading classes, and different implementations can be used for different descriptors.This interface allows the customization of services read in from an external source.ServiceLocator is the registry for HK2 services -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.configuration.apiClassDescriptionThis annotation is placed on another annotation to indicate that the annotation may be used to indicate an injection pointThis 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 services
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.configuration.hub.apiClassDescriptionBase class for HK2 defined runtime exceptionsThis exception can contain multiple other exceptions.ServiceLocator is the registry for HK2 servicesImplementations of this interface can be added to a
DynamicConfiguration
in order to atomically participate in the changes being made to theServiceLocator
. -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.configuration.hub.internalClassDescriptionThis object can be injected rather than
Provider
when it is desired to iterate over more than one returned instance of the type.This exception can contain multiple other exceptions.Implementations of this interface can be added to aDynamicConfiguration
in order to atomically participate in the changes being made to theServiceLocator
.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.configuration.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 describes the type of descriptorThis enumeration determines how visibility of a descriptorThis class is used to add
Descriptor
s to aServiceLocator
instance.A service that listens for dynamic configuration changes.The dynamic configuration service is the source ofDynamicConfiguration
instances, which can be used to bind and unbind entities into the systemThis 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 filter can be used to limit the set of Descriptors passed to the matches method.An Injectee represents the point of injection.This class allows users to provide a custom injection target for any annotation (including @Inject).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.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.configuration.persistence.properties
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extension
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extrasClassDescriptionThis exception can contain multiple other exceptions.ServiceLocator is the registry for HK2 services
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extras.events
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extras.events.internalClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.This class is used to add
Descriptor
s to aServiceLocator
instance.A service that listens for dynamic configuration changes.This object is used to search for items in the service registryThis object contains information about a lifecycle event.This processor is called for certain events in the lifecycle of instances of services.This object can be injected rather thanProvider
when it is desired to iterate over more than one returned instance of the type.This annotation is placed on an injection point that is to be injected with theActiveDescriptor
that was used to create the instance.ServiceLocator is the registry for HK2 servicesAn injection point can be annotated with @Unqualified if it should only be injected with services that have no qualifiers at all -
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extras.hk2bridge.internalClassDescriptionAn 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.A service that listens for dynamic configuration changes.This object is used to search for items in the service registryAn Injectee represents the point of injection.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.This annotation is used when automatically analyzing a class or a {link
Factory.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.extras.interceptionClassDescriptionThis service handle can be used to get a specific instance of a service, and can be used to destroy that service as well
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extras.interception.internalClassDescriptionThis object is used to search for items in the service registryThis filter can be used to limit the set of Descriptors passed to the matches method.This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.This object can be injected rather than
Provider
when it is desired to iterate over more than one returned instance of the type.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 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.extras.operationClassDescriptionAn 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.This service handle can be used to get a specific instance of a service, and can be used to destroy that service as well
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.extras.operation.internalClassDescriptionAn 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 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.
-
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 describes the type of descriptorThis 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
ServiceLocatorFactory
in 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.metadata.generator
-
Classes in org.glassfish.hk2.api used by org.glassfish.hk2.runlevelClassDescriptionAn 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.This class is used to add
Descriptor
s to aServiceLocator
instance.Base class for HK2 defined runtime exceptionsThis 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 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.runlevel.internalClassDescriptionAn 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 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 annotation is used when automatically analyzing a class or a {link
Factory.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.runlevel.utilitiesClassDescriptionA Descriptor is a bean-like structure that describes a service declaration in HK2.ServiceLocator is the registry for HK2 services
-
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
InputStream
returned 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 addDescriptor
s to aServiceLocator
instance.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 likeSingleton
scope, except that instances are created as soon as their correspondingDescriptor
s 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 likePerThread
scope, 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 likeSingleton
scope, 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
Descriptor
s to aServiceLocator
instance.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 aDynamicConfiguration
in 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.
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.external.generator
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.external.runtime
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.generator.internal
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.internalClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.When HK2 automatically analyzes a class to find the constructor, fields, initializer methods and postConstruct and preDestroy methods it uses this service to analyze the class.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.This describes the type of descriptorThis enumeration determines how visibility of a descriptorThis class is used to add
Descriptor
s to aServiceLocator
instance.The dynamic configuration service is the source ofDynamicConfiguration
instances, which can be used to bind and unbind entities into the systemThis 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 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 is an interface that is also implemented by theMethodInvocation
object passed to the invoke method ofMethodInterceptor
and theConstructorInvocation
object passed to the invoke method ofConstructorInterceptor
.This class is responsible for loading classes, and different implementations can be used for different descriptors.This filter can be used to limit the set of Descriptors passed to the matches method.An Injectee represents the point of injection.This class allows users to provide a custom injection target for any annotation (including @Inject).This object contains information about a lifecycle event.This describes the type of lifecycle events that can happen in the systemThis processor is called for certain events in the lifecycle of instances of services.Contains information about the caller of aFactory.provide()
methodThis service is used to get information about the creation of a service from an implementation ofFactory
.This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.This object can be injected rather thanProvider
when 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 validatedPerLookup is the scope for objects that are created every time they are looked up.Implementations 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 servicesThe 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 aDynamicConfiguration
in order to atomically participate in the changes being made to theServiceLocator
.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 service can be used to add validation points to Descriptors.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.jvnet.hk2.jmx.apiClassDescriptionAn ActiveDescriptor contains information about a Descriptor after it has been reified.This object is used to search for items in the service registry
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.metadata.testsClassDescriptionThis interface should be implemented in order to provide a factory for another type.PerLookup is the scope for objects that are created every time they are looked up.Scope annotations that are also marked with this annotation are proxiable.This annotation is used when automatically analyzing a class or a {link
Factory.provide()
method to indicate that the descriptor either should or should use a proxy when being injected into a service from the same scope.This annotation is used to provide the initial rank of a service marked withService
.This annotation is used when automatically analyzing a class or a {linkFactory.provide()
method to indicate that the descriptor either should or should not use a proxy.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.jvnet.hk2.metadata.tests.complextypefactoryClassDescriptionThis interface should be implemented in order to provide a factory for another type.
-
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.testing.junitClassDescriptionThis class is used to add
Descriptor
s to aServiceLocator
instance.ServiceLocator is the registry for HK2 servicesThis factory can be used to create new named ServiceLocators -
Classes in org.glassfish.hk2.api used by org.jvnet.hk2.testing.junit.internalClassDescriptionThe dynamic configuration service is the source of
DynamicConfiguration
instances, which can be used to bind and unbind entities into the systemThis 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.An Injectee represents the point of injection.The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.This exception can contain multiple other exceptions.ServiceLocator is the registry for HK2 services