|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Repository
that statically enumerates all ModuleDefinition
upfront.Inhabitant.get()
at
some point.
ActiveDescriptorBuilder
, whose job it
is to create an unreified ActiveDescriptor
.
Iterator
implementation that works as a filter to another iterator.Repository
to this registry.
Repository
to this registry.
Repository
to this registry.
Repository
to this registry.
RepositoryFactory
to the list of
repository factories.
Provider
s.
InhabitantActivator.activate(org.jvnet.hk2.component.Inhabitant)
and InhabitantActivator.deactivate(org.jvnet.hk2.component.Inhabitant)
calls are made to wait for completion of a progression to a particular run level.
InhabitantActivator.activate(org.jvnet.hk2.component.Inhabitant)
and InhabitantActivator.deactivate(org.jvnet.hk2.component.Inhabitant)
calls are made to wait for completion of a progression to a particular run level.
ClosureCompilerImplBase
based on
BCEL.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.
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)
method for each
binder given.
ServiceLocatorUtilities.bind(org.glassfish.hk2.api.ServiceLocator, Binder...)
method in order to add (or remove) services to a ServiceLocator.ConfigModel
for the given class (Which should have Configured
annotation on it.)
ConfigModel
for the given class (Which should have Configured
annotation on it.)
BundleEvent
InhabitantsDescriptor
that loads the inhabitants
meta-data from a byte array (usually coming from a inhabitant file).Services
registry.
ConfigTransaction.commit()
with the added ability to substitute configuration
beans used in the prepare phase with the final bean object replacements that should be managed.
Dom
.ConfigInjector
implementations for Configured
objects
and ConfigBeanProxy
subtypes.Inhabitant
s,
and add them to Habitat
.ConfigTransactionFactory
.Configured
bean integration with
external configuration systems and providers.ConfiguredBy
services that signifies that
the service rejected the configuration and the transaction
was automatically rolled back.Configured
bean they are associated with, and
configured by.true
if this scope instance contains a stored inhabitant
for a given provider, returns false
otherwise.
TypeDeclaration
,
find all super-types that have Contract
,
including ones pointed by ContractProvided
.Inhabitant
by looking at annotations of the given type.
InhabitantsParsingContextGenerator
Inhabitants
instead.
Inhabitants
instead.
ModulesRegistryImpl
in this ModulesRegistryImpl
.
ModulesRegistry
in this ModulesRegistry
.
Creator
for instantiating objects.
Dom
object,
by using the specified interface type as the proxy type.
Dom
object,
Repository
with a parent (for delegating
module resolutions) and a name.
Repository
.
InhabitantsScanner
instance capable of returning the
metadata for all inhabitant.
ServiceLocator
from all the modules in this registry
Cal;ling this method has the same effect of calling ModulesRegistry.newServiceLocator()
followed by
ModulesRegistry.populateServiceLocator(String, ServiceLocator)
.
type
of the data a particular config
element (attribute, element) should have.Inhabitant.release()
at
some point.
ModuleDefinition
implementation that picks up most of the module
properties from the manifest file of the jar, as baked in by
the hk2-maven-plugin.DescriptorBuilder
Inhabitant
that loads configuration from XML.InhabitantsParser
that if it encounters the specified component
while parsing inhabitants file,
simply drop it and pretend that such an inhabitant had never existed.
InhabitantsParser
that if it encounters the specified component
while parsing inhabitants file,
simply drop it and pretend that such an inhabitant had never existed.
ConfigBeanProxy
is a duck-typed method
that are implemented by the static method on the nested static Duck
class.Descriptor
s to a ServiceLocator
instance.DynamicConfiguration
instances, which can be used to bind and unbind entities into the systemPerThread
scope to
the given locator.
DefaultModuleDefinition
instance
for a module given the name and version constraints.
Module
that owns the given class.
DefaultModuleDefinition
instance
for a module given the name and version constraints.
ConfigModel.Property
from either ConfigModel.elements
or ConfigModel.attributes
.
ClassLoaderProxy.findResource(String)
but only looks at
this module, without delegating to ancestors.
Iterator
implementation that works like Lisp "flatten" function.GenerateServiceFromMethod
to indicate that this method contains the name
the service should take.Dom
in the specified type.
Activator
.
Contract
.
Contract
.
Configuration
bind call) then this method will
return the original basis for this descriptor.
ClassLoader
instance associated with this module.
ClassLoader
instance associated with this module.
Parser.Parser(ParsingContext)
Descriptor
fully characterizes the attributes
of this Provider.
ConfigBeanProxy
-derived interface.
ReposistoryFactory
RespositoryFactory
factory instance
capable of creating Repository
repositories of
the provided type
Filter
that was used in the
lookup operation.
ImportPolicy
interface for this module or
null if there is no such implementation
Inhabitant
from an ActiveDescriptor
.
Inhabitant.get()
is invoked.
Injectee
that is the injection
point that would be injected into
ConfigInjector
instance that can be used to inject
this DOM to a bean.
Dom
.
LifecyclePolicy
interface for this module or
null if there is no such implementation
RunLevelListener
s.
Dom
loaded from?
ServiceLocator
API or due to
an @Inject resolution.
JarFile.getManifest()
for the contract.
Metadata
annotations found in an annotation.
ConfigModel
from the "global" element name.
getModuleDefinition().getName()
.
getModuleDefinition().getName()
.
Inhabitants
instead.
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.
Module
that provides the provider of the given name.
Sorter
.
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.
org.jvnet.hk2.annotations.Inject
annotation.
InjectionResolverQuery
to provide view of changes
scoped to this txn context.
Dom
tree.
Dom
tree, by using the given model
for the top-level element.
BundleActivator
that launches a Habitat.Holder
implementation that doesn't do any deferred computation,
where the value is given in the constructor.ImportPolicy
.
Contract
annotations.org.glassfish.hk2.Services
.InhabitantParser
implementation based on the inhabitant
file format.InhabitantMetadata
and puts them into the bag.Inhabitants
instead.Habitat
.org.jvnet.hk2.annotations.Inject
annotated fields and methods
Dom
and inject them into the given target object.
ConfigInjector
to indicate
the target class of the injection.ConfigInjector
used to inject values to
objects of this model.
Dom
node right after the given DOM element.
InvocationHandler
implementation that allows strongly-typed access
to the configuration.
Dom.invoke(Object, Method, Object[])
,
but instead of Method
object, it takes the method name and argument types.
JarFile
so that we can handle
both a jar file and a directory image transparently.target type
is keyed, the FQCN that defines
the key field.
ModuleStartup
implementation of the main module.
LifecyclePolicy
.
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
.
ModuleDefinition
.
AbstractRepositoryImpl.initialize()
to load all ModuleDefinition
s and libraries defintions
Constants.PARAM_INHABITANT_SOURCE_FILE
, Constants.PARAM_INHABITANT_TARGET_FILE
,
Constants.PARAM_INHABITANTS_SOURCE_FILES
, and Constants.PARAM_INHABITANTS_SORTED
to be passed.
Constants.PARAM_INHABITANT_SOURCE_FILE
and
Constants.PARAM_INHABITANT_TARGET_FILE
to be passed.
Module
instance giving a name and version
constraints.
Module
instance giving a name and version
constraints.
Module
instance giving a name and version
constraints.
Repository
implementation that loads modules
from the transitive dependencies set in a MavenProject
.AnnotationProcessorFactory
implementation to generate META-INF/services
by scanning Service
.Module
.Module
.ModuleDefinition
.
Habitat
ServiceLocator
Translator
that does nothing.
ConfigBeanProxy
to the habitat.Inject
is not required to be present at run-time.Habitat
.ModulesRegistry
.MavenArchiveConfiguration
.MavenArchiveConfiguration
.Constants.PARAM_INHABITANTS_CLASSPATH
.
ModulesRegistry
can form a tree structure by using this pointer.
Configured
that contains this annotation
InhabitantsParser
).
InhabitantsScanner
).
Dom
s into Habitat
as Inhabitant
s.
ParsingConfig.getAnnotationsOfInterest()
or implements/subclass a type returned by ParsingConfig.getTypesOfInterest()
.Singleton
scope, except on a per-thread basis.DescriptorImpl
writeObject method.
DescriptorImpl
writeObject method,
looking in the classpath to locate these files
ServiceLocator
from all the modules in this registry
ServiceLocator
from all the modules in this registry.
Habitat
.PREPARING
phase.
MavenProjectRepository
from the current project (which is used
to launch mvn), and if the compile phase has run yet, then the main artifact is
still null.
RunLevel
instances (identified by
RunLevelControllerIndicator
), orchestrating the appropriate
lifecycle events.
Service
.Inhabitant
object.
ModuleLifecycleListener
to this registry.
ModuleLifecycleListener
to this registry.
PreDestroy.preDestroy()
on all instantiated components that implement the PreDestroy
interface.
ServiceLocator
.
NodeChild
InhabitantsParser
that if it encounters the specified component
while parsing inhabitants file,
ignore the one in the inhabitants file and instead insert the specified 'new' component.
InhabitantsParser
that if it encounters the specified component
while parsing inhabitants file,
ignore the one in the inhabitants file and instead insert the specified 'new' component.
NodeChild
with another one.
resolved
.
resolved
.
RunLevelController
name.
RunLevelController
implementation for Hk2.RunLevelController
target for the RunLevel
annotated service.RunLevelController
.ActiveDescriptor
that was used
to create the instance.Service
annotation, then
the corresponding OSGi service is registered with the following
property name.
Service
annotation and generates
META-INF/services style text file for each interface annotated with @ContractServiceLocatorFactory
that looks
in the OSGi service registry or the META-INF/services for the implementation
to use.ServiceLocator
.Dom
.
ServiceLocator
.
READY
state.
InhabitantAnnotation
was annotated.
InhabitantAnnotation
was annotated.
Dom
.
Translator.translate(String)
.type().getName()
but this allows us to defer loading the actual types.
ModuleLifecycleListener
from this registry.
ModuleLifecycleListener
from this registry.
Dom
object.
Translator
that does variable resolution in the Ant style.Configured
.
ConfigBeanProxy
annotated with Configured
.
Inhabitant
by wrapping Creator
to handle scoping right.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |