org.apache.camel.core.osgi
Class OsgiLanguageResolver

java.lang.Object
  extended by org.apache.camel.core.osgi.OsgiLanguageResolver
All Implemented Interfaces:
LanguageResolver
Direct Known Subclasses:
BlueprintLanguageResolver

public class OsgiLanguageResolver
extends Object
implements LanguageResolver


Constructor Summary
OsgiLanguageResolver(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
protected  Language getLanguage(String name, CamelContext context)
           
protected  LanguageResolver getLanguageResolver(String name, CamelContext context)
           
 Language resolveLanguage(String name, CamelContext context)
          Resolves the given language.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OsgiLanguageResolver

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

resolveLanguage

public Language resolveLanguage(String name,
                                CamelContext context)
Description copied from interface: LanguageResolver
Resolves the given language.

Specified by:
resolveLanguage in interface LanguageResolver
Parameters:
name - the name of the language
context - the camel context
Returns:
the resolved language

getLanguage

protected Language getLanguage(String name,
                               CamelContext context)

getLanguageResolver

protected LanguageResolver getLanguageResolver(String name,
                                               CamelContext context)


Apache CAMEL