org.apache.camel.component.eventadmin
Class EventAdminComponentResolver

java.lang.Object
  extended by org.apache.camel.component.eventadmin.EventAdminComponentResolver
All Implemented Interfaces:
ComponentResolver

public class EventAdminComponentResolver
extends Object
implements ComponentResolver

EventAdmin component resolver


Constructor Summary
EventAdminComponentResolver(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 Component resolveComponent(String name, CamelContext context)
          Attempts to resolve the component for the given URI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EventAdminComponentResolver

public EventAdminComponentResolver(org.osgi.framework.BundleContext bundleContext)
Method Detail

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 resolve
context - 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