|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ops4j.pax.radman.service.bundleManager.OSGiServiceReference
public final class OSGiServiceReference
OSGiServiceReference is synomy to ServiceReference.
| Constructor Summary | |
|---|---|
OSGiServiceReference(org.osgi.framework.ServiceReference reference)
Construct an instance of OSGiServiceReference with the specified argument. |
|
| Method Summary | |
|---|---|
static java.util.List<OSGiServiceReference> |
createAll(org.osgi.framework.ServiceReference... serviceReferences)
Creates a set of OSGiServiceReference from the specified service references |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getBundleSymbolicName()
Returns the bundle symbolic name that register this service instance. |
java.lang.String |
getBundleVersion()
Returns the bundle version that register this service instance. |
java.lang.String[] |
getServiceNames()
Returns the services names of this OSGiServiceReferences. |
int |
hashCode()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OSGiServiceReference(org.osgi.framework.ServiceReference reference)
throws java.lang.IllegalArgumentException
OSGiServiceReference with the specified argument.
reference - The service reference. This argument must not be null.
java.lang.IllegalArgumentException - Thrown if the specified reference is null.| Method Detail |
|---|
public final java.lang.String[] getServiceNames()
OSGiServiceReferences.
public final java.lang.String getBundleSymbolicName()
public final java.lang.String getBundleVersion()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic static java.util.List<OSGiServiceReference> createAll(org.osgi.framework.ServiceReference... serviceReferences)
OSGiServiceReference from the specified service references
serviceReferences - The service references to createAll the set of OSGiServiceReference from.
OSGiServiceReference or an empty set if serviceReferences is null or empty.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||