org.apache.camel.component.eventadmin
Class EventAdminComponentResolver
java.lang.Object
org.apache.camel.component.eventadmin.EventAdminComponentResolver
- All Implemented Interfaces:
- ComponentResolver
public class EventAdminComponentResolver
- extends Object
- implements ComponentResolver
EventAdmin component resolver
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EventAdminComponentResolver
public EventAdminComponentResolver(org.osgi.framework.BundleContext bundleContext)
resolveComponent
public Component resolveComponent(String name,
CamelContext context)
throws Exception
- Description copied from interface:
ComponentResolver
- Attempts to resolve the component for the given URI
- Specified by:
resolveComponent in interface ComponentResolver
- Parameters:
name - the component name to resolvecontext - the context to load the component if it can be resolved
- Returns:
- the component which is added to the context or null if it cannot be resolved
- Throws:
Exception - is thrown if the the component could not be loaded
Apache CAMEL