|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Providers.
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.Locator.forContract(Class), with the exception that the
type is provided as a string instead of a class instance.
Services registry
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...)
BinderFactory to allow dynamic registration
of services.Locator.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.
Descriptor.
Descriptor.
Descriptor fully characterizes the attributes
of this Provider.
Provider optionally providing contextual
information for how the component provider will be used (e.g., for
contextual injection, etc).
Provider from the collection that matches
current criteria.
HK2 APIs implementation using the provided HK2Provider
instance as the implementation backend.
Contract annotations.Services.org.glassfish.hk2.Descriptor#metadata().Inject annotated fields and methods
of the passed instance.
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.InhabitantAnnotationScope local to each invocation.Scope that will instantiate and store
services per thread.Factory contract, offering the ability to
obtain the runtime Descriptor describing the
attributes of the registered component/service, and
provides a means to access the class type instance.PreDestroy.preDestroy()
on all instantiated components that implement the PreDestroy interface.
Binder.Scope.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||