public class StaticServiceReferenceProxy extends Object implements ServiceReferenceProxy
ServiceReference proxy which simply does delegation, without any extra features. It's main purpose is
to allow the consistent behaviour between dynamic and static proxies.| Constructor and Description |
|---|
StaticServiceReferenceProxy(org.osgi.framework.ServiceReference target)
Constructs a new
StaticServiceReferenceProxy instance. |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Object other) |
boolean |
equals(Object obj) |
org.osgi.framework.Bundle |
getBundle() |
Object |
getProperty(String key) |
String[] |
getPropertyKeys() |
org.osgi.framework.ServiceReference |
getTargetServiceReference()
Returns the target, native service reference used, at the moment of the
call, by the proxy.
|
org.osgi.framework.Bundle[] |
getUsingBundles() |
int |
hashCode() |
boolean |
isAssignableTo(org.osgi.framework.Bundle bundle,
String className) |
public StaticServiceReferenceProxy(org.osgi.framework.ServiceReference target)
StaticServiceReferenceProxy instance.target - service referencepublic org.osgi.framework.Bundle getBundle()
getBundle in interface org.osgi.framework.ServiceReferencepublic Object getProperty(String key)
getProperty in interface org.osgi.framework.ServiceReferencepublic String[] getPropertyKeys()
getPropertyKeys in interface org.osgi.framework.ServiceReferencepublic org.osgi.framework.Bundle[] getUsingBundles()
getUsingBundles in interface org.osgi.framework.ServiceReferencepublic boolean isAssignableTo(org.osgi.framework.Bundle bundle,
String className)
isAssignableTo in interface org.osgi.framework.ServiceReferencepublic org.osgi.framework.ServiceReference getTargetServiceReference()
ServiceReferenceProxygetTargetServiceReference in interface ServiceReferenceProxypublic int compareTo(Object other)
compareTo in interface ComparablecompareTo in interface org.osgi.framework.ServiceReferenceCopyright © 2006-2013. All Rights Reserved.