org.apache.camel.spi
Interface ComponentResolver<E extends Exchange>
- All Known Implementing Classes:
- DefaultComponentResolver
public interface ComponentResolver<E extends Exchange>
Represents a resolver of components from a URI to be able to auto-load them using some
discovery mechanism like DefaultComponentResolver
- Version:
- $Revision: 35332 $
resolveComponent
Component<E> resolveComponent(String name,
CamelContext context)
throws Exception
- Attempts to resolve the component for the given URI
- 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 can not be resolved
- Throws:
Exception
Copyright © 2008 IONA Open Source Community. All Rights Reserved.