| 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
This class will weed out and duplicate implementations of anything populated into the
locator.
|
| 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) |
| 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 |
|---|---|
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
|
Copyright © 2013 Oracle Corporation. All Rights Reserved.