Uses of Annotation Type
org.jvnet.hk2.annotations.Contract
Packages that use Contract
Package
Description
-
Uses of Contract in com.sun.enterprise.module
Classes in com.sun.enterprise.module with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Modules that wish to programmatically control their list of imports can implement this interface.interface
Modules that wish to invoke special logic when it is loaded, started or stopped should implement this interface.interface
-
Uses of Contract in com.sun.enterprise.module.bootstrap
Classes in com.sun.enterprise.module.bootstrap with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Interface server startup need to implement -
Uses of Contract in org.glassfish.hk2.api
Classes in org.glassfish.hk2.api with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
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.interface
Context<T>
An implementation of this must be put into the system in order to create contextual instances of services.interface
Implementations of this interface allow the customization of how hk2 inhabitant files are found.interface
A service that listens for dynamic configuration changes.interface
The dynamic configuration service is the source ofDynamicConfiguration
instances, which can be used to bind and unbind entities into the systeminterface
This interface should be implemented by those who wish to be notified of error conditions that occur within HK2.interface
Factory<T>
This interface should be implemented in order to provide a factory for another type.interface
This service is advertised when the Immediate service is put into the registry.interface
This class allows users to provide a custom injection target for any annotation (including @Inject).interface
This processor is called for certain events in the lifecycle of instances of services.interface
This service is used to get information about the creation of a service from an implementation ofFactory
.interface
This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.interface
The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.interface
ServiceLocator is the registry for HK2 servicesinterface
This 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 TypeInterfaceDescriptioninterface
This service is responsible for distributing messages to Topic subscribers -
Uses of Contract in org.glassfish.hk2.bootstrap
Classes in org.glassfish.hk2.bootstrap with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Basic interface for populating a service locator with configuration data -
Uses of Contract in org.glassfish.hk2.configuration.hub.api
Classes in org.glassfish.hk2.configuration.hub.api with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
This is a listener that is notified when changes are made to the currentBeanDatabase
interface
The central repository of configuration objects in the system. -
Uses of Contract in org.glassfish.hk2.configuration.persistence.properties
Classes in org.glassfish.hk2.configuration.persistence.properties with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
This service will read a java property file and add its contents to the HK2 configuration hub. -
Uses of Contract in org.glassfish.hk2.extras.events
Classes in org.glassfish.hk2.extras.events with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
When using the TopicDistributionService added withServiceLocatorUtilities.enableTopicDistribution(org.glassfish.hk2.api.ServiceLocator)
if a subscriber throws an exception this service will be called. -
Uses of Contract in org.glassfish.hk2.extras.interception
Classes in org.glassfish.hk2.extras.interception with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
This service can be used to modify, add or remove interceptors to the set of interceptors that will be called on a Method or Constructor in the default implementation of the interception service. -
Uses of Contract in org.glassfish.hk2.extras.operation
Classes in org.glassfish.hk2.extras.operation with annotations of type ContractModifier and TypeClassDescriptionclass
OperationContext<T extends Annotation>
The implementation ofContext
for an Operation.interface
OperationHandle<T extends Annotation>
This handle is used to associate or dis-associate threads with Operations.interface
Manages HK2 operations, allowing the user to create new operations of a particular type or discover the current set of active operations or find the current operation on the current thread -
Uses of Contract in org.glassfish.hk2.runlevel
Classes in org.glassfish.hk2.runlevel with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Instances of classes implementing this contract can be registered with HK2 to be informed when the system starts progressing to a new level, either upward or downward@interface
Defines a run/start level.interface
A RunLevelContoller controls the current state of services registered in theRunLevel
scope.interface
Instances of classes implementing this contract can be registered with HK2 to be informed of events of RunLevelControllers.interface
Contract for sorting descriptors for run level services. -
Uses of Contract in org.glassfish.hk2.utilities
Classes in org.glassfish.hk2.utilities with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
The 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.interface
Implementations of this service will be called whenever an Immediate scoped service fails -
Uses of Contract in org.jvnet.hk2.external.runtime
Classes in org.jvnet.hk2.external.runtime with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Runtime information about the ServiceLocator. -
Uses of Contract in org.jvnet.hk2.jmx.api
Classes in org.jvnet.hk2.jmx.api with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
This service must be implemented in order to specify those descriptors that might be reflected into JMX -
Uses of Contract in org.jvnet.hk2.metadata.tests
Classes in org.jvnet.hk2.metadata.tests with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
interface
class
Is a contractinterface
interface
interface
interface
This is marked with theContract
annotation but will not be added, since the service is usinginvalid reference
ContractsProvided
-
Uses of Contract in org.jvnet.hk2.metadata.tests.complextypefactory
Classes in org.jvnet.hk2.metadata.tests.complextypefactory with annotations of type Contract -
Uses of Contract in org.jvnet.hk2.metadata.tests.stub
Classes in org.jvnet.hk2.metadata.tests.stub with annotations of type ContractModifier and TypeInterfaceDescriptioninterface
Imagine that this is an interface with a lot of methods on it