Uses of Class
org.jvnet.hk2.annotations.Contract
-
-
Uses of Contract in com.sun.enterprise.module
Classes in com.sun.enterprise.module with annotations of type Contract Modifier and Type Interface Description interface
ImportPolicy
Modules that wish to programmatically control their list of imports can implement this interface.interface
LifecyclePolicy
Modules that wish to invoke special logic when it is loaded, started or stopped should implement this interface.interface
ModulesRegistry
-
Uses of Contract in com.sun.enterprise.module.bootstrap
Classes in com.sun.enterprise.module.bootstrap with annotations of type Contract Modifier and Type Interface Description interface
ModuleStartup
Interface server startup need to implement -
Uses of Contract in org.glassfish.hk2.api
Classes in org.glassfish.hk2.api with annotations of type Contract Modifier and Type Interface Description interface
ClassAnalyzer
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
DescriptorFileFinder
Implementations of this interface allow the customization of how hk2 inhabitant files are found.interface
DynamicConfigurationListener
A service that listens for dynamic configuration changes.interface
DynamicConfigurationService
The dynamic configuration service is the source ofDynamicConfiguration
instances, which can be used to bind and unbind entities into the systeminterface
ErrorService
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
ImmediateController
This service is advertised when the Immediate service is put into the registry.interface
InjectionResolver<T>
This class allows users to provide a custom injection target for any annotation (including @Inject).interface
InstanceLifecycleListener
This processor is called for certain events in the lifecycle of instances of services.interface
InstantiationService
This service is used to get information about the creation of a service from an implementation ofFactory
.interface
InterceptionService
This service is implemented in order to configure interceptors on methods or constructors provided by hk2 services.interface
JustInTimeInjectionResolver
The JustInTimeInjectionResolver is called when an injection point cannot find anything to inject.interface
ServiceLocator
ServiceLocator is the registry for HK2 servicesinterface
ValidationService
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 Contract Modifier and Type Interface Description interface
TopicDistributionService
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 Contract Modifier and Type Interface Description interface
ConfigPopulator
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 Contract Modifier and Type Interface Description interface
BeanDatabaseUpdateListener
This is a listener that is notified when changes are made to the currentBeanDatabase
interface
Hub
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 Contract Modifier and Type Interface Description interface
PropertyFileService
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 Contract Modifier and Type Interface Description interface
DefaultTopicDistributionErrorService
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 Contract Modifier and Type Interface Description interface
InterceptorOrderingService
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 Contract Modifier and Type Class Description class
OperationContext<T extends java.lang.annotation.Annotation>
The implementation ofContext
for an Operation.interface
OperationHandle<T extends java.lang.annotation.Annotation>
This handle is used to associate or dis-associate threads with Operations.interface
OperationManager
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 Contract Modifier and Type Interface Description interface
ProgressStartedListener
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 downwardinterface
RunLevel
Defines a run/start level.interface
RunLevelController
A RunLevelContoller controls the current state of services registered in theRunLevel
scope.interface
RunLevelListener
Instances of classes implementing this contract can be registered with HK2 to be informed of events of RunLevelControllers.interface
Sorter
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 Contract Modifier and Type Interface Description interface
Binder
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
ImmediateErrorHandler
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 Contract Modifier and Type Interface Description interface
ServiceLocatorRuntimeBean
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 Contract Modifier and Type Interface Description interface
HK2JmxSpecifier
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 Contract Modifier and Type Interface Description interface
ComplexA
interface
ComplexC
class
ComplexDImpl
Is a contractinterface
ComplexE
interface
ComplexF
interface
ComplexG
interface
SimpleContract
This is marked with theContract
annotation but will not be added, since the service is usingContractsProvided
-
Uses of Contract in org.jvnet.hk2.metadata.tests.complextypefactory
Classes in org.jvnet.hk2.metadata.tests.complextypefactory with annotations of type Contract Modifier and Type Interface Description interface
InterfaceWithTwoTypes<V,T>
-
Uses of Contract in org.jvnet.hk2.metadata.tests.stub
Classes in org.jvnet.hk2.metadata.tests.stub with annotations of type Contract Modifier and Type Interface Description interface
LargeInterface
Imagine that this is an interface with a lot of methods on it
-