Modifier and Type | Method and Description |
---|---|
ServiceLocator |
ModulesRegistry.createServiceLocator(ServiceLocator serviceLocator,
java.lang.String name,
java.util.List<PopulatorPostProcessor> postProcessors)
Creates a
ServiceLocator with the provided parent. |
void |
ModulesRegistry.populateServiceLocator(java.lang.String name,
ServiceLocator h,
java.util.List<PopulatorPostProcessor> postProcessors)
Populates a
ServiceLocator from all the modules in this registry. |
Modifier and Type | Class and Description |
---|---|
class |
ContextDuplicatePostProcessor
Deprecated.
Use DuplicatePostProcessor instead
|
Modifier and Type | Method and Description |
---|---|
ServiceLocator |
Main.createServiceLocator(ModulesRegistry mr,
StartupContext context,
java.util.List<PopulatorPostProcessor> postProcessors,
DescriptorFileFinder descriptorFileFinder) |
Modifier and Type | Method and Description |
---|---|
ServiceLocator |
AbstractModulesRegistryImpl.createServiceLocator(ServiceLocator parent,
java.lang.String name,
java.util.List<PopulatorPostProcessor> postProcessors) |
protected abstract java.util.List<ActiveDescriptor> |
AbstractModulesRegistryImpl.parseInhabitants(Module module,
java.lang.String name,
ServiceLocator serviceLocator,
java.util.List<PopulatorPostProcessor> postProcessors) |
void |
AbstractModulesRegistryImpl.populateServiceLocator(java.lang.String name,
ServiceLocator serviceLocator,
java.util.List<PopulatorPostProcessor> postProcessors)
Creates a
ServiceLocator from all the modules in this registry |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ActiveDescriptor> |
ModulesRegistryImpl.parseInhabitants(Module module,
java.lang.String name,
ServiceLocator serviceLocator,
java.util.List<PopulatorPostProcessor> postProcessors) |
(package private) java.util.List<ActiveDescriptor> |
ModuleImpl.parseInhabitants(java.lang.String name,
java.util.List<PopulatorPostProcessor> postProcessors)
Parses all the inhabitants descriptors of the given name in this module.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<ActiveDescriptor> |
SingleModulesRegistry.parseInhabitants(Module module,
java.lang.String name,
ServiceLocator serviceLocator,
java.util.List<PopulatorPostProcessor> postProcessors) |
protected java.util.List<ActiveDescriptor> |
ClassPathBasedModulesRegistry.parseInhabitants(Module module,
java.lang.String name,
ServiceLocator serviceLocator,
java.util.List<PopulatorPostProcessor> postProcessors) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ActiveDescriptor<?>> |
Populator.populate(DescriptorFileFinder fileFinder,
PopulatorPostProcessor... postProcessors)
This method can be used to populate the service locator with files that
have been written out using the
DescriptorImpl writeObject method. |
Modifier and Type | Interface and Description |
---|---|
interface |
PopulatorPostProcessor
Deprecated.
use
PopulatorPostProcessor instead |
Modifier and Type | Method and Description |
---|---|
static java.util.List<ActiveDescriptor> |
HK2Populator.populate(ServiceLocator serviceLocator,
DescriptorFileFinder fileFinder,
java.util.List<? extends PopulatorPostProcessor> postProcessors)
This method can be used to populate the service locator with files that
have been written out using the
DescriptorImpl writeObject method. |
Modifier and Type | Class and Description |
---|---|
class |
Hk2LoaderPopulatorPostProcessor
A Simple PopulatorPostProcessor that uses the given classloader to override default
HK2Loader behavior
|
Modifier and Type | Class and Description |
---|---|
class |
ClassLoaderPostProcessor
This is a
PopulatorPostProcessor that adds an HK2Loader
based on a ClassLoader. |
class |
DuplicatePostProcessor
This post-processor removes duplicate descriptors from the
set of descriptors being added to the service registry.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ActiveDescriptor<?>> |
PopulatorImpl.populate(DescriptorFileFinder fileFinder,
PopulatorPostProcessor... postProcessors) |