Uses of Annotation Interface
org.jvnet.hk2.annotations.Contract
Packages that use Contract
Package
Description
-
Uses of Contract in org.glassfish.hk2.api
Classes in org.glassfish.hk2.api with annotations of type ContractModifier and TypeInterfaceDescriptioninterfaceWhen 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.interfaceContext<T>An implementation of this must be put into the system in order to create contextual instances of services.interfaceImplementations of this interface allow the customization of how hk2 inhabitant files are found.interfaceA service that listens for dynamic configuration changes.interfaceThe dynamic configuration service is the source ofDynamicConfigurationinstances, which can be used to bind and unbind entities into the systeminterfaceThis interface should be implemented by those who wish to be notified of error conditions that occur within HK2.interfaceFactory<T>This interface should be implemented in order to provide a factory for another type.interfaceThis service is advertised when the Immediate service is put into the registry.interfaceThis class allows users to provide a custom injection target for any annotation (including @Inject).interfaceThis processor is called for certain events in the lifecycle of instances of services.interfaceThis service is used to get information about the creation of a service from an implementation ofFactory.interfaceThis service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.interfaceThe JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.interfaceServiceLocator is the registry for HK2 servicesinterfaceThis service can be used to add validation points to Descriptors. -
Uses of Contract in org.glassfish.hk2.api.messaging
Classes in org.glassfish.hk2.api.messaging with annotations of type ContractModifier and TypeInterfaceDescriptioninterfaceThis service is responsible for distributing messages to Topic subscribers -
Uses of Contract in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities with annotations of type ContractModifier and TypeInterfaceDescriptioninterfaceThe binder is used in conjunction with theServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)method in order to add (or remove) services to a ServiceLocator.interfaceImplementations of this service will be called whenever an Immediate scoped service fails