org.apache.camel.impl
Class DefaultComponentResolver
java.lang.Object
org.apache.camel.impl.DefaultComponentResolver
- All Implemented Interfaces:
- ComponentResolver
public class DefaultComponentResolver
- extends Object
- implements ComponentResolver
The default implementation of ComponentResolver
which tries to find
components by using the URI scheme prefix and searching for a file of the URI
scheme name in the META-INF/services/org/apache/camel/component/
directory on the classpath.
- Version:
- $Revision: 835732 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RESOURCE_PATH
public static final String RESOURCE_PATH
- See Also:
- Constant Field Values
DefaultComponentResolver
public DefaultComponentResolver()
resolveComponent
public Component resolveComponent(String name,
CamelContext context)
- 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
getLog
protected org.apache.commons.logging.Log getLog()
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.