public class DynamicContextDecorator extends DynamicContext
Based on Decorator (from GOF) design pattern.
Mostly intended to be used by interceptors.
etlVariable, globalContext| Constructor and Description |
|---|
DynamicContextDecorator(DynamicContext context) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
Object |
getParameter(String name)
Returns the value of parameter specified by name.
|
getGlobalContextpublic DynamicContextDecorator(DynamicContext context)
public Object getParameter(String name)
ParametersCallbackThe callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter in interface ParametersCallbackgetParameter in class DynamicContextname - parameter name. Providers are allowed (but not required) to ignore a case of the name parameter
to comply with their internal model. For example JDBC drivers are case-insensitive to column names.public Connection getConnection()
getConnection in class DynamicContextCopyright © 2006-2012. All Rights Reserved.