DBScriptRunner.java Sample

This topic inludes the source code for the DBScriptRunner.java Sample.

Sample Location

This sample is located in the following directory in your WebLogic Workshop installation:

BEA_HOME/weblogic81/samples/workshop/ExtensionDevKit/ControlDevKit/DBScripter/dbScript/

Sample Source Code


01 package dbScript; 
02 
03 import com.bea.control.Control;
04 
05 /**
06  * DBSriptRunner sample custom Java control; see
07  * {@link <a href="../../navDBScriptRunner.html">DBScriptRunner Control</a>}.
08  *
09  * This class supports two functions:  
10  * defining datasources and running scripts.
11  *
12  @see <a href="../../navDBScriptRunner.html">DBScriptRunner Control</a>.
13  */
14 
15 public interface DBScriptRunner extends Control
16 {
17     interface Callback
18     {
19         // callback methods that should appear on all
20         // control instances would go here
21     }
22 
23