public class DynamicContext extends Object implements ParametersCallback
TODO: Probably it's better to extract interface from this class
and merge implementation with EtlContext
| Modifier and Type | Field and Description |
|---|---|
protected EtlVariable |
etlVariable |
protected EtlContext |
globalContext |
| Modifier | Constructor and Description |
|---|---|
protected |
DynamicContext() |
|
DynamicContext(EtlContext globalContext) |
| Modifier and Type | Method and Description |
|---|---|
Connection |
getConnection() |
protected EtlContext |
getGlobalContext() |
Object |
getParameter(String name)
Returns the value of parameter specified by name.
|
protected EtlContext globalContext
protected EtlVariable etlVariable
protected DynamicContext()
public DynamicContext(EtlContext globalContext)
public Object getParameter(String name)
ParametersCallbackThe callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter in interface ParametersCallbackname - 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()
protected EtlContext getGlobalContext()
Copyright © 2006-2012. All Rights Reserved.