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() |
java.lang.Object |
getParameter(java.lang.String name)
Returns the value of parameter specified by name.
|
getGlobalContext
public DynamicContextDecorator(DynamicContext context)
public java.lang.Object getParameter(java.lang.String name)
ParametersCallback
The callback internally delegates a call to parent callbacks if the parameter cannot be found.
getParameter
in interface ParametersCallback
getParameter
in class DynamicContext
name
- 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 DynamicContext
Copyright © Copyright 2006-2019 The Scriptella Project Team.