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 TypeFieldDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLoaders
(String id) void
Register an individual provivider item by its provider identifier.void
Remove 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
-