01: /*
02: * Copyright 2006-2007 The Scriptella Project Team.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
10: * Unless required by applicable law or agreed to in writing, software
11: * distributed under the License is distributed on an "AS IS" BASIS,
12: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13: * See the License for the specific language governing permissions and
14: * limitations under the License.
15: */
16: package scriptella.driver.script;
17:
18: import scriptella.spi.ParametersCallback;
19: import scriptella.spi.QueryCallback;
20:
21: import javax.script.Bindings;
22:
23: /**
24: * {@link javax.script.Bindings} implementation for
25: * integration into Scriptella execution environment.
26: * <p>This class simply declare {@link javax.script.Bindings} interface from Java SE 6.
27: *
28: * @author Fyodor Kupolov
29: * @version 1.0
30: */
31: public class BindingsParametersCallback extends ParametersCallbackMap
32: implements Bindings {
33: public BindingsParametersCallback(
34: ParametersCallback parentParameters) {
35: super (parentParameters);
36: }
37:
38: public BindingsParametersCallback(
39: ParametersCallback parentParameters,
40: QueryCallback queryCallback) {
41: super(parentParameters, queryCallback);
42: }
43: }
|