Class ProviderRegistryImpl.SPIRegistry
java.lang.Object
org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
- Enclosing class:
ProviderRegistryImpl
Holder class for information about a given collection of
id to provider mappings. Used for both the providers and
the services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Map<String, List<ProviderRegistryImpl.BundleProviderLoader>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLoaders(String id) voidRegister an individual provivider item by its provider identifier.voidRemove a provider registration for a named provider id.
-
Field Details
-
registry
-
-
Constructor Details
-
SPIRegistry
private SPIRegistry()
-
-
Method Details
-
register
Register an individual provivider item by its provider identifier.- Parameters:
provider- The loader used to resolve the provider class.id- The provider id.
-
unregister
Remove a provider registration for a named provider id.- Parameters:
provider- The provider registration instance
-
getLoader
-
getLoaders
-