|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.yoko.osgi.locator.BundleProviderLoader
public class BundleProviderLoader
Holder class for located services information.
| Constructor Summary | |
|---|---|
BundleProviderLoader(String providerId,
String providerClass,
org.osgi.framework.Bundle bundle,
int priority)
Create a loader for this registered provider. |
|
| Method Summary | |
|---|---|
int |
compareTo(BundleProviderLoader other)
|
Object |
createInstance()
Create an instance of the registred service. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
id()
|
Class<?> |
loadClass()
Load a provider class. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BundleProviderLoader(String providerId,
String providerClass,
org.osgi.framework.Bundle bundle,
int priority)
providerId - The provider IDproviderClass - The mapped class name of the provider.bundle - The hosting bundle.priority - | Method Detail |
|---|
public Class<?> loadClass()
throws ClassNotFoundException
Exception
ClassNotFoundException
public Object createInstance()
throws Exception
Exceptionpublic String id()
public String toString()
toString in class Objectpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic int compareTo(BundleProviderLoader other)
compareTo in interface Comparable<BundleProviderLoader>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||