Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- activator - Variable in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- activator - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- Activator - Class in org.apache.geronimo.osgi.locator
- Activator - Class in org.apache.geronimo.osgi.registry
-
The activator that starts and manages the life-cycle of the class factory registry.
- Activator() - Constructor for class org.apache.geronimo.osgi.locator.Activator
- Activator() - Constructor for class org.apache.geronimo.osgi.registry.Activator
- Activator.LogServiceTracker - Class in org.apache.geronimo.osgi.registry
- addBundle(Bundle) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Add a bundle to the provider registry.
- addingBundle(Bundle, BundleEvent) - Method in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
-
Handle the activation of a new bundle.
- addingService(ServiceReference) - Method in class org.apache.geronimo.osgi.registry.Activator.LogServiceTracker
B
- bt - Variable in class org.apache.geronimo.osgi.registry.Activator
- bundle - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- bundle - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
- bundleChanged(BundleEvent) - Method in class org.apache.geronimo.osgi.locator.Activator
- bundleContext - Variable in class org.apache.geronimo.osgi.locator.Activator
- BundleProviderLoader(String, String, Bundle) - Constructor for class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
-
Create a loader for this registered provider.
- BundleResources(Bundle) - Constructor for class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
C
- context - Static variable in class org.apache.geronimo.osgi.locator.ProviderLocator
- context - Variable in class org.apache.geronimo.osgi.registry.Activator
- createInstance() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
-
Create an instance of the registred service.
D
- destroy() - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Cleanup resources on bundle shutdown.
E
- equals(Object) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- EXPORT_PROVIDER_HEADER - Static variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
G
- getLoader(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
- getLoaders(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
- getRegistry() - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Retrieve the registry from the tracker if it is available, all without causing the interface class to load.
- getService(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate and instantiate an instance of a service provider defined in the META-INF/services directory of tracked bundles.
- getService(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate and instantiate an instance of a service provider defined in the META-INF/services directory of tracked bundles.
- getService(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Get a single service instance that matches an interface definition.
- getServiceClass(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate and return the class for a service provider defined in the META-INF/services directory of tracked bundles.
- getServiceClass(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate and return the class for a service provider defined in the META-INF/services directory of tracked bundles.
- getServiceClass(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate a service class that matches an interface definition.
- getServiceClasses(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate all services that match a given provider id and return the implementation classes
- getServiceClasses(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate all services that match a given provider id and return the implementation classes
- getServiceClasses(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Get a list of service class implementations that match an interface name.
- getServices(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate all services that match a given provider id and create instances.
- getServices(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate all services that match a given provider id and create instances.
- getServices(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Get a list of services that match a given interface name.
H
- hashCode() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
I
- id() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- init(BundleContext) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
initialize the tracker statics for this bundle
L
- loadClass() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
-
Load a provider class.
- loadClass(String) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Utility class for locating a class with OSGi registry support.
- loadClass(String, Class<?>) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Utility class for locating a class with OSGi registry support.
- loadClass(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Standardized utility method for performing class lookups with support for OSGi registry lookups.
- locate(String) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate a class by its provider id indicator.
- locate(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate a class by its factory id indicator.
- locate(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate a class by its provider id indicator.
- locateAll(String) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate all class files that match a given factory id.
- locateAll(String) - Method in interface org.apache.geronimo.osgi.registry.api.ProviderRegistry
-
Locate all class files that match a given factory id.
- locateAll(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Locate all class files that match a given provider id.
- locateHeaderProviderDefinitions() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
-
Parse the Export-Provider: header to create a list of providers that are exported via the header syntax rather than via a provider mapping file.
- locateProviders() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
- locateServiceClass(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate the first class for a META-INF/services definition of a given interface class.
- locateServiceClasses(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate all classes that map to a given provider class definition.
- locateServiceClassName(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate the first class name for a META-INF/services definition of a given class.
- locateServiceClassName(String, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate a classpath-define service mapping.
- locateServiceClassNames(String, Class<?>, ClassLoader) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate all class names name for a META-INF/services definition of a given class.
- locateServiceClassNames(String, ClassLoader, Set) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Locate all class names name for a META-INF/services definition of a given class.
- locateServices() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
- log(int, String) - Method in class org.apache.geronimo.osgi.registry.Activator
- log(int, String) - Method in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- log(int, String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- log(int, String, Throwable) - Method in class org.apache.geronimo.osgi.registry.Activator
- log(int, String, Throwable) - Method in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- log(int, String, Throwable) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- logServices - Variable in class org.apache.geronimo.osgi.registry.Activator
- LogServiceTracker(BundleContext, String, ServiceTrackerCustomizer) - Constructor for class org.apache.geronimo.osgi.registry.Activator.LogServiceTracker
- lookupByJREPropertyFile(String, String) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Perform a service class discovery by looking for a property in a target properties file located in the java.home directory.
- lst - Variable in class org.apache.geronimo.osgi.registry.Activator
M
- modifiedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
N
- needsTracking() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
O
- OPT_IN_HEADER - Static variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- org.apache.geronimo.osgi.locator - package org.apache.geronimo.osgi.locator
- org.apache.geronimo.osgi.registry - package org.apache.geronimo.osgi.registry
- org.apache.geronimo.osgi.registry.api - package org.apache.geronimo.osgi.registry.api
P
- parseServiceDefinition(URL) - Static method in class org.apache.geronimo.osgi.locator.ProviderLocator
-
Parse a definition file and return the names of all included implementation classes contained within the file.
- parseServiceFile(URL, List<ProviderRegistryImpl.BundleProviderLoader>) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
-
Parse a provider definition file and create loaders for all definitions contained within the file.
- processDefinitions(String) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
-
Process all of the service definition files in a given target path.
- ProviderBundleTrackerCustomizer - Class in org.apache.geronimo.osgi.registry
- ProviderBundleTrackerCustomizer(Activator, Bundle, ProviderRegistryImpl) - Constructor for class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- providerClass - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- providerId - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- ProviderLocator - Class in org.apache.geronimo.osgi.locator
- ProviderLocator() - Constructor for class org.apache.geronimo.osgi.locator.ProviderLocator
- ProviderRegistry - Interface in org.apache.geronimo.osgi.registry.api
-
The implementation of the factory registry used to store the bundle registrations.
- ProviderRegistryImpl - Class in org.apache.geronimo.osgi.registry
-
The implementation of the provider registry used to store the bundle registrations.
- ProviderRegistryImpl(Activator) - Constructor for class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- ProviderRegistryImpl.BundleProviderLoader - Class in org.apache.geronimo.osgi.registry
-
Holder class for located services information.
- ProviderRegistryImpl.BundleResources - Class in org.apache.geronimo.osgi.registry
- ProviderRegistryImpl.SPIRegistry - Class in org.apache.geronimo.osgi.registry
-
Holder class for information about a given collection of id to provider mappings.
- providers - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
- providers - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
R
- register(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
-
Register an individual provivider item by its provider identifier.
- registerProvider(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Register an individual provivider item by its provider identifier.
- registerService(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Register an individual provivider item by its provider identifier.
- registry - Variable in class org.apache.geronimo.osgi.registry.Activator
- registry - Variable in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- registry - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
- registryBundle - Variable in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- registryRegistration - Variable in class org.apache.geronimo.osgi.registry.Activator
- registryTracker - Static variable in class org.apache.geronimo.osgi.locator.ProviderLocator
- remove() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
-
Remove all resources associated with this bundle from the global registry.
- removeBundle(Bundle, Object) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Remove a bundle from the registry.
- removedBundle(Bundle, BundleEvent, Object) - Method in class org.apache.geronimo.osgi.registry.ProviderBundleTrackerCustomizer
- removedService(ServiceReference, Object) - Method in class org.apache.geronimo.osgi.registry.Activator.LogServiceTracker
S
- serviceProviders - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleResources
- serviceProviders - Variable in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
- SPIRegistry() - Constructor for class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
- start(BundleContext) - Method in class org.apache.geronimo.osgi.locator.Activator
- start(BundleContext) - Method in class org.apache.geronimo.osgi.registry.Activator
- stop(BundleContext) - Method in class org.apache.geronimo.osgi.locator.Activator
- stop(BundleContext) - Method in class org.apache.geronimo.osgi.registry.Activator
T
- toString() - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
U
- unregister(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl.SPIRegistry
-
Remove a provider registration for a named provider id.
- unregisterProvider(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Removed a provider registration for a named provider id.
- unregisterService(ProviderRegistryImpl.BundleProviderLoader) - Method in class org.apache.geronimo.osgi.registry.ProviderRegistryImpl
-
Removed a provider registration for a named provider id.
All Classes and Interfaces|All Packages|Constant Field Values