public class ServiceStaticInterceptor extends ServiceInvoker
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(Object other) |
org.osgi.framework.ServiceReference |
getServiceReference()
Convenience method exposing the target (OSGi service) reference so that
subinterceptors can access it.
|
protected Object |
getTarget()
Determine the target object to execute the invocation upon.
|
int |
hashCode() |
void |
setUseBlueprintExceptions(boolean useBlueprintExceptions) |
doInvoke, invoke
public ServiceStaticInterceptor(org.osgi.framework.BundleContext context, org.osgi.framework.ServiceReference reference)
protected Object getTarget()
ServiceInvoker
getTarget
in class ServiceInvoker
public void setUseBlueprintExceptions(boolean useBlueprintExceptions)
public org.osgi.framework.ServiceReference getServiceReference()
ServiceInvoker
getServiceReference
in interface ServiceReferenceProvider
getServiceReference
in class ServiceInvoker
public void destroy()
destroy
in interface org.springframework.beans.factory.DisposableBean
destroy
in class ServiceInvoker
Copyright © 2006–2013. All rights reserved.