public class StaticQueryResolver extends Object implements QueryResolver
Constructor and Description |
---|
StaticQueryResolver(Query query) |
Modifier and Type | Method and Description |
---|---|
Query |
resolve(DbConnection connection,
MuleEvent muleEvent)
Resolves a query in the context of a given Mule event.
|
public StaticQueryResolver(Query query)
public Query resolve(DbConnection connection, MuleEvent muleEvent) throws QueryResolutionException
QueryResolver
resolve
in interface QueryResolver
connection
- connection to the database. not nullmuleEvent
- used to resolve any Mule expression. Not nullQueryResolutionException
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.