public class ImportConfigurationServiceImpl extends AbstractConfigurationServiceImpl implements ImportExportConfigurationService<ImportConfiguration>
bundleContext, persistenceService, routerCamelContext
Constructor and Description |
---|
ImportConfigurationServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
delete(String configId)
Deletes the import/export configuration identified by the specified identifier.
|
List<ImportConfiguration> |
getAll()
Retrieves all the import/export configurations.
|
ImportConfiguration |
load(String configId)
Retrieves the import/export configuration identified by the specified identifier.
|
ImportConfiguration |
save(ImportConfiguration importConfiguration,
boolean updateRunningRoute)
Saves the specified import/export configuration in the context server.
|
void |
setRouterCamelContext(IRouterCamelContext routerCamelContext)
Set the router camel context to share
|
bundleChanged, getRouterCamelContext, postConstruct, preDestroy, setBundleContext, setPersistenceService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getRouterCamelContext
public List<ImportConfiguration> getAll()
ImportExportConfigurationService
getAll
in interface ImportExportConfigurationService<ImportConfiguration>
public ImportConfiguration load(String configId)
ImportExportConfigurationService
load
in interface ImportExportConfigurationService<ImportConfiguration>
configId
- the identifier of the profile to retrievenull
if no such import/export configuration existspublic ImportConfiguration save(ImportConfiguration importConfiguration, boolean updateRunningRoute)
ImportExportConfigurationService
save
in interface ImportExportConfigurationService<ImportConfiguration>
importConfiguration
- the import/export configuration to be savedupdateRunningRoute
- set to true if running routes should be updated toopublic void delete(String configId)
ImportExportConfigurationService
delete
in interface ImportExportConfigurationService<ImportConfiguration>
configId
- the identifier of the import/export configuration to deletepublic void setRouterCamelContext(IRouterCamelContext routerCamelContext)
ImportExportConfigurationService
setRouterCamelContext
in interface ImportExportConfigurationService<ImportConfiguration>
setRouterCamelContext
in class AbstractConfigurationServiceImpl
routerCamelContext
- the router Camel context to use for all operationsCopyright © 2014–2022 Apache Software Foundation. All rights reserved.