public class ConfiguredDbConfigResolver extends AbstractDbConfigResolver
DbConfig delegating to the DbConfigResolver
corresponding to the configured config.PROPERTY_NAME| Constructor and Description |
|---|
ConfiguredDbConfigResolver(DbConfigResolver dbConfigResolver) |
| Modifier and Type | Method and Description |
|---|---|
DbConfig |
resolve(MuleEvent muleEvent)
Resolves which database configuration to use for a given event
|
protected DbConfig |
resolveDefaultConfig() |
getMetaData, getMetaDataKeys, testgetAnnotation, getAnnotations, setAnnotationsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnnotation, getAnnotations, setAnnotationspublic ConfiguredDbConfigResolver(DbConfigResolver dbConfigResolver)
public DbConfig resolve(MuleEvent muleEvent) throws UnresolvableDbConfigException
DbConfigResolvermuleEvent - event used to resolve the configuration. Not null.UnresolvableDbConfigException - when is not possible to resolve a database configurationprotected DbConfig resolveDefaultConfig()
resolveDefaultConfig in class AbstractDbConfigResolverCopyright © 2003–2018 MuleSoft, Inc.. All rights reserved.