public class ServiceStaticInterceptor extends ServiceInvoker
| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.BundleContext |
bundleContext |
private boolean |
destroyed |
private org.osgi.framework.Filter |
filter |
private static int |
hashCode |
private java.lang.Object |
lock
private lock
|
private org.osgi.framework.ServiceReference |
reference |
private java.lang.Object |
target |
private boolean |
useBlueprintExceptions
standard exception flag
|
log| Constructor and Description |
|---|
ServiceStaticInterceptor(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference reference) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
boolean |
equals(java.lang.Object other) |
org.osgi.framework.ServiceReference |
getServiceReference()
Convenience method exposing the target (OSGi service) reference so that
subinterceptors can access it.
|
protected java.lang.Object |
getTarget()
Determine the target object to execute the invocation upon.
|
int |
hashCode() |
void |
setUseBlueprintExceptions(boolean useBlueprintExceptions) |
doInvoke, invokeprivate static final int hashCode
private boolean destroyed
private final java.lang.Object lock
private final org.osgi.framework.ServiceReference reference
private final org.osgi.framework.BundleContext bundleContext
private boolean useBlueprintExceptions
private final org.osgi.framework.Filter filter
private volatile java.lang.Object target
public ServiceStaticInterceptor(org.osgi.framework.BundleContext context,
org.osgi.framework.ServiceReference reference)
protected java.lang.Object getTarget()
ServiceInvokergetTarget in class ServiceInvokerpublic void setUseBlueprintExceptions(boolean useBlueprintExceptions)
public org.osgi.framework.ServiceReference getServiceReference()
ServiceInvokergetServiceReference in interface ServiceReferenceProvidergetServiceReference in class ServiceInvokerpublic void destroy()
destroy in interface org.springframework.beans.factory.DisposableBeandestroy in class ServiceInvokerpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object