|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.camel.core.osgi.utils.BundleContextUtils
public final class BundleContextUtils
Helper class
Method Summary | |
---|---|
static org.osgi.framework.BundleContext |
getBundleContext(Class<?> clazz)
Retrieve the BundleContext that the given class has been loaded from. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.osgi.framework.BundleContext getBundleContext(Class<?> clazz)
clazz
- the class to find the bundle context from
null
if it can't be found
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |