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, createInstancedoRegister, doRegister, doRegister, doRegister, unregisterpublic BundleDataFormatResolver(org.osgi.framework.Bundle bundle, Map<String,String> dataformats)
public DataFormat resolveDataFormat(String name, CamelContext context)
DataFormatResolverresolveDataFormat in interface DataFormatResolvername - the name of the data format to lookup in Registry or createcontext - the camel contextpublic DataFormat createDataFormat(String name, CamelContext context)
DataFormatResolvercreateDataFormat in interface DataFormatResolvername - 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.BaseServiceApache Camel