Modifier and Type | Method and Description |
---|---|
ServiceLocator |
ModulesRegistry.createServiceLocator(ServiceLocator serviceLocator,
String name,
List<PopulatorPostProcessor> postProcessors)
Creates a
ServiceLocator with the provided parent. |
void |
ModulesRegistry.populateServiceLocator(String name,
ServiceLocator h,
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,
List<PopulatorPostProcessor> postProcessors,
DescriptorFileFinder descriptorFileFinder) |
Modifier and Type | Method and Description |
---|---|
ServiceLocator |
AbstractModulesRegistryImpl.createServiceLocator(ServiceLocator parent,
String name,
List<PopulatorPostProcessor> postProcessors) |
protected abstract List<ActiveDescriptor> |
AbstractModulesRegistryImpl.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors) |
void |
AbstractModulesRegistryImpl.populateServiceLocator(String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors)
Creates a
ServiceLocator from all the modules in this registry |
Modifier and Type | Method and Description |
---|---|
protected List<ActiveDescriptor> |
ModulesRegistryImpl.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors) |
Modifier and Type | Method and Description |
---|---|
protected List<ActiveDescriptor> |
SingleModulesRegistry.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors) |
protected List<ActiveDescriptor> |
ClassPathBasedModulesRegistry.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors) |
Modifier and Type | Method and Description |
---|---|
static List<ActiveDescriptor> |
HK2Populator.populate(ServiceLocator serviceLocator,
DescriptorFileFinder fileFinder,
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 |
OsgiPopulatorPostProcessor
A PopulatorPostProcessor that sets the HK2Loader prior to binding a descriptor
|
Modifier and Type | Method and Description |
---|---|
ServiceLocator |
HK2Main.createServiceLocator(ModulesRegistry mr,
StartupContext context,
List<PopulatorPostProcessor> postProcessors,
DescriptorFileFinder descriptorFileFinder) |
List<ActiveDescriptor> |
AbstractOSGiModulesRegistryImpl.parseInhabitants(Module module,
String name,
ServiceLocator serviceLocator,
List<PopulatorPostProcessor> postProcessors) |
Copyright © 2013 Oracle Corporation. All rights reserved.