org.mule.module.db.internal.resolver.database
Class StaticDbConfigResolver
java.lang.Object
org.mule.module.db.internal.resolver.database.StaticDbConfigResolver
- All Implemented Interfaces:
- DbConfigResolver
public class StaticDbConfigResolver
- extends Object
- implements DbConfigResolver
Resolves a DbConfig to a static value without using the current event
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StaticDbConfigResolver
public StaticDbConfigResolver(DbConfig dbConfig)
resolve
public DbConfig resolve(MuleEvent muleEvent)
- Description copied from interface:
DbConfigResolver
- Resolves which database configuration to use for a given event
- Specified by:
resolve in interface DbConfigResolver
- Parameters:
muleEvent - event used to resolve the configuration. Not null.
- Returns:
- a non null database configuration to use to process the given event
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.