org.apache.camel.core.osgi
Class OsgiFactoryFinder
java.lang.Object
org.apache.camel.impl.DefaultFactoryFinder
org.apache.camel.core.osgi.OsgiFactoryFinder
- All Implemented Interfaces:
- org.apache.camel.spi.FactoryFinder
public class OsgiFactoryFinder
- extends org.apache.camel.impl.DefaultFactoryFinder
Fields inherited from class org.apache.camel.impl.DefaultFactoryFinder |
classMap |
Constructor Summary |
OsgiFactoryFinder(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.spi.ClassResolver classResolver,
String resourcePath)
|
Methods inherited from class org.apache.camel.impl.DefaultFactoryFinder |
findClass, getResourcePath, newInstance, newInstances |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OsgiFactoryFinder
public OsgiFactoryFinder(org.osgi.framework.BundleContext bundleContext,
org.apache.camel.spi.ClassResolver classResolver,
String resourcePath)
findClass
public Class<?> findClass(String key,
String propertyPrefix,
Class<?> checkClass)
throws ClassNotFoundException,
IOException
- Specified by:
findClass
in interface org.apache.camel.spi.FactoryFinder
- Overrides:
findClass
in class org.apache.camel.impl.DefaultFactoryFinder
- Throws:
ClassNotFoundException
IOException
findClass
public Class<?> findClass(String key,
String propertyPrefix)
throws ClassNotFoundException,
IOException
- Specified by:
findClass
in interface org.apache.camel.spi.FactoryFinder
- Overrides:
findClass
in class org.apache.camel.impl.DefaultFactoryFinder
- Throws:
ClassNotFoundException
IOException
getResource
public org.apache.camel.core.osgi.OsgiFactoryFinder.BundleEntry getResource(String name)
getResource
public org.apache.camel.core.osgi.OsgiFactoryFinder.BundleEntry getResource(String name,
Class<?> clazz)
Apache Camel