org.mule.module.db.internal.resolver.database
Class StaticDbConfigResolver

java.lang.Object
  extended by 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


Constructor Summary
StaticDbConfigResolver(DbConfig dbConfig)
           
 
Method Summary
 DbConfig resolve(MuleEvent muleEvent)
          Resolves which database configuration to use for a given event
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticDbConfigResolver

public StaticDbConfigResolver(DbConfig dbConfig)
Method Detail

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.