Class ProviderRegistryImpl.BundleProviderLoader
java.lang.Object
org.apache.geronimo.osgi.registry.ProviderRegistryImpl.BundleProviderLoader
- Enclosing class:
ProviderRegistryImpl
Holder class for located services information.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBundleProviderLoader
(String providerId, String providerClass, org.osgi.framework.Bundle bundle) Create a loader for this registered provider. -
Method Summary
-
Field Details
-
providerId
-
providerClass
-
bundle
private final org.osgi.framework.Bundle bundle
-
-
Constructor Details
-
Method Details
-
loadClass
Load a provider class.- Returns:
- The provider class from the target bundle.
- Throws:
Exception
ClassNotFoundException
-
createInstance
Create an instance of the registred service.- Returns:
- The created instance. A new instance is created on each call.
- Throws:
Exception
-
id
-
toString
-
hashCode
public int hashCode() -
equals
-