org.apache.camel.blueprint
Class BlueprintDataFormatResolver

java.lang.Object
  extended by org.apache.camel.core.osgi.OsgiDataFormatResolver
      extended by org.apache.camel.blueprint.BlueprintDataFormatResolver
All Implemented Interfaces:
DataFormatResolver

public class BlueprintDataFormatResolver
extends OsgiDataFormatResolver


Constructor Summary
BlueprintDataFormatResolver(org.osgi.framework.BundleContext bundleContext)
           
 
Method Summary
 DataFormat resolveDataFormat(String name, CamelContext context)
          Resolves the given data format given its name.
 
Methods inherited from class org.apache.camel.core.osgi.OsgiDataFormatResolver
getDataFormat, resolveDataFormatDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlueprintDataFormatResolver

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

resolveDataFormat

public DataFormat resolveDataFormat(String name,
                                    CamelContext context)
Description copied from interface: DataFormatResolver
Resolves the given data format given its name.

Specified by:
resolveDataFormat in interface DataFormatResolver
Overrides:
resolveDataFormat in class OsgiDataFormatResolver
Parameters:
name - the name of the data format to lookup in Registry or create
context - the camel context
Returns:
the data format or null if not possible to resolve


Apache CAMEL