|
||||||||||
| 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 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().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 argument.
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 with providing contextual information
on how the provider will be used.
Provider from the collection that matches
current criteria.
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
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.
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||