protected static class Activator.BundleDataFormatResolver extends Activator.BaseResolver<DataFormat> implements DataFormatResolver
bundle
Constructor and Description |
---|
BundleDataFormatResolver(org.osgi.framework.Bundle bundle,
Map<String,String> dataformats) |
Modifier and Type | Method and Description |
---|---|
DataFormat |
createDataFormat(String name,
CamelContext context)
Creates the given data format given its name.
|
void |
register() |
DataFormat |
resolveDataFormat(String name,
CamelContext context)
Resolves the given data format given its name.
|
DataFormatDefinition |
resolveDataFormatDefinition(String name,
CamelContext context) |
createInstance, createInstance
doRegister, doRegister, doRegister, doRegister, unregister
public BundleDataFormatResolver(org.osgi.framework.Bundle bundle, Map<String,String> dataformats)
public DataFormat resolveDataFormat(String name, CamelContext context)
DataFormatResolver
resolveDataFormat
in interface DataFormatResolver
name
- the name of the data format to lookup in Registry
or createcontext
- the camel contextpublic DataFormat createDataFormat(String name, CamelContext context)
DataFormatResolver
createDataFormat
in interface DataFormatResolver
name
- the name of the data format factory to lookup in Registry
or createcontext
- the camel contextpublic DataFormatDefinition resolveDataFormatDefinition(String name, CamelContext context)
public void register()
register
in class Activator.BaseService
Apache Camel