org.mule.module.db.internal.resolver.query
Class StaticQueryResolver
java.lang.Object
org.mule.module.db.internal.resolver.query.StaticQueryResolver
- All Implemented Interfaces:
- QueryResolver
public class StaticQueryResolver
- extends Object
- implements QueryResolver
Resolves a query 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 |
StaticQueryResolver
public StaticQueryResolver(Query query)
resolve
public Query resolve(DbConnection connection,
MuleEvent muleEvent)
throws QueryResolutionException
- Description copied from interface:
QueryResolver
- Resolves a query in the context of a given Mule event.
- Specified by:
resolve in interface QueryResolver
- Parameters:
connection - connection to the database. not nullmuleEvent - used to resolve any Mule expression. Not null
- Returns:
- query resolved for the given event
- Throws:
QueryResolutionException
Copyright © 2003–2014 MuleSoft, Inc.. All rights reserved.