public class StaticDbConfigResolver extends AbstractDbConfigResolver implements Disposable
DbConfig
to a static value without using the current eventPHASE_NAME
PROPERTY_NAME
Constructor and Description |
---|
StaticDbConfigResolver(DbConfig dbConfig) |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
DbConfig |
resolve(MuleEvent muleEvent)
Resolves which database configuration to use for a given event
|
getMetaData, getMetaDataKeys, resolveDefaultConfig, test
getAnnotation, getAnnotations, setAnnotations
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, setAnnotations
public StaticDbConfigResolver(DbConfig dbConfig)
public DbConfig resolve(MuleEvent muleEvent)
DbConfigResolver
resolve
in interface DbConfigResolver
muleEvent
- event used to resolve the configuration. Not null.public void dispose()
Disposable
dispose
in interface Disposable
Copyright © 2003–2018 MuleSoft, Inc.. All rights reserved.