public class OsgiFactoryFinder
extends org.apache.camel.impl.DefaultFactoryFinder
| Constructor and Description |
|---|
OsgiFactoryFinder(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.spi.ClassResolver classResolver,
String resourcePath) |
| Modifier and Type | Method and Description |
|---|---|
Class<?> |
findClass(String key,
String propertyPrefix) |
Class<?> |
findClass(String key,
String propertyPrefix,
Class<?> checkClass) |
org.apache.camel.core.osgi.OsgiFactoryFinder.BundleEntry |
getResource(String name) |
org.apache.camel.core.osgi.OsgiFactoryFinder.BundleEntry |
getResource(String name,
Class<?> clazz) |
public OsgiFactoryFinder(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.spi.ClassResolver classResolver,
String resourcePath)
public Class<?> findClass(String key, String propertyPrefix, Class<?> checkClass) throws ClassNotFoundException, IOException
findClass in interface org.apache.camel.spi.FactoryFinderfindClass in class org.apache.camel.impl.DefaultFactoryFinderClassNotFoundExceptionIOExceptionpublic Class<?> findClass(String key, String propertyPrefix) throws ClassNotFoundException, IOException
findClass in interface org.apache.camel.spi.FactoryFinderfindClass in class org.apache.camel.impl.DefaultFactoryFinderClassNotFoundExceptionIOExceptionpublic org.apache.camel.core.osgi.OsgiFactoryFinder.BundleEntry getResource(String name)
Apache Camel