class LocalBundleContextAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor
LocalBundleContextAdvice setter method.
Note: This class is state-less so the same instance can be
used by several proxies at the same time.| Modifier and Type | Field and Description |
|---|---|
private org.osgi.framework.BundleContext |
context |
private static int |
hashCode |
| Constructor and Description |
|---|
LocalBundleContextAdvice(org.osgi.framework.Bundle bundle) |
LocalBundleContextAdvice(org.osgi.framework.BundleContext bundle) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object other) |
int |
hashCode() |
java.lang.Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation) |
private static final int hashCode
private final org.osgi.framework.BundleContext context
LocalBundleContextAdvice(org.osgi.framework.Bundle bundle)
LocalBundleContextAdvice(org.osgi.framework.BundleContext bundle)
public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws java.lang.Throwable
invoke in interface org.aopalliance.intercept.MethodInterceptorjava.lang.Throwablepublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object