protected static class Activator.BundleComponentResolver extends Activator.BaseResolver<Component> implements ComponentResolver
bundle| Constructor and Description |
|---|
BundleComponentResolver(org.osgi.framework.Bundle bundle,
Map<String,String> components) |
| Modifier and Type | Method and Description |
|---|---|
void |
register() |
Component |
resolveComponent(String name,
CamelContext context)
Attempts to resolve the component for the given URI
|
createInstance, createInstancedoRegister, doRegister, doRegister, doRegister, unregisterpublic BundleComponentResolver(org.osgi.framework.Bundle bundle, Map<String,String> components)
public Component resolveComponent(String name, CamelContext context) throws Exception
ComponentResolverresolveComponent in interface ComponentResolvername - the component name to resolvecontext - the context to load the component if it can be resolvedException - is thrown if the the component could not be loadedpublic void register()
register in class Activator.BaseServiceApache Camel