|
||||||||||
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 Map<String,Properties> |
findComponents(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.CamelContext camelContext)
Finds the components available on the bundle context and camel context |
static org.osgi.framework.BundleContext |
getBundleContext(Class<?> clazz)
Retrieve the BundleContext that the given class has been loaded from. |
static String |
getComponentDocumentation(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.CamelContext camelContext,
String componentName)
|
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 foundpublic static Map<String,Properties> findComponents(org.osgi.framework.BundleContext bundleContext, org.apache.camel.CamelContext camelContext) throws IOException, org.apache.camel.util.LoadPropertiesException
IOException
org.apache.camel.util.LoadPropertiesException
public static String getComponentDocumentation(org.osgi.framework.BundleContext bundleContext, org.apache.camel.CamelContext camelContext, String componentName) throws IOException
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |