|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Providers.
FactoryDescriptors.
String interface name.
String
interfaces names that can be used to lookup the service.
Class reference.
TypeLiteral which will allow HK2 to retrieve the parameterized
type at runtime.
Services.Services
registry that provides a facility to get to contextual provider instances.Services instance.Locator.forContract(Class), with the exception that the
type is provided as a string instead of a class instance.
Services registry.
true if this scope instance contains a stored inhabitant
for a given provider, returns false otherwise.
Binding to describe how the Binding's Provider will be used.Services instances to register and lookup services to and from.
Services instances to register and lookup services to and from.
HK2.create(org.glassfish.hk2.Services, Class[])
HK2.create(org.glassfish.hk2.Services, org.glassfish.hk2.Module...)
Method with all the annotation which types are
specified using the Decorate.with().DescriptorBuilderBinderFactory to allow dynamic registration of
services.Descriptors to a ServiceLocator
instance.DynamicConfiguration
instances, which can be used to bind and unbind entities into the systemLocator.forContract(Class), with the exception that the
type is provided as a string instead of a class instance.
Locator.forContract(Class), with the exception that the
type is a TypeLiteral, a parameterized type.
Configuration bind call) then this method will
return the original basis for this descriptor.
Descriptor.
Descriptor argument.
Descriptor fully characterizes the attributes
of this Provider.
ServiceLocator API or due to
an @Inject resolution.
Provider optionally providing contextual
information for how the component provider will be used (e.g., for
contextual injection, etc).
Provider with providing contextual information
on how the provider will be used.
Provider from the collection that matches
current criteria.
Validator that will be run whenever
a Descriptor that passed the filter is to be looked up with the API
or injected into an injection point, or on any bind or unbind operation.
Descriptor.getContracts() contains the passed argument.
Descriptor.getNames() contains the passed argument.
Descriptor.getQualifiers() contains the passed argument.
HK2 APIs implementation using the provided HK2Provider
instance as the implementation backend.
RunLevel that indicates immediate activation
for the default run level scope.Contract annotations.Services.org.glassfish.hk2.Descriptor#metadata().Inject annotated fields and methods
of the passed instance.
Inject
annotated fields and methods
DescriptorBuilder, to
be used to further build the Descriptor.
DescriptorBuilder, to
be used to further build the Descriptor.
DescriptorBuilder, to
be used to further build the Descriptor
DescriptorBuilder, to
be used to further build the Descriptor.
Contract) or by concrete service type
(e.g., classes annotated with @Service).ManagedComponentProvider is one in which its backing
component that it provides can either be in an active or inactive
state.Services instance.InhabitantAnnotationInject
is not required to be present at run-time.Scope local to each invocation.Scope that will instantiate and store
services per thread.Factory contract, providing a means to access the
class type instance.PreDestroy.preDestroy()
on all instantiated components that implement the PreDestroy interface.
Binder.RunLevel scope.Scope.ServiceLocatorFactory that looks
in the OSGi service registry or the META-INF/services for the implementation
to use.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||