Package data_objects.drivers

Examples of data_objects.drivers.DriverDefinition


     * @return
     * @throws IOException
     */
    public boolean basicLoad(final Ruby runtime) throws IOException {

        final DriverDefinition driver = getDriverDefinition();

        // Get the DataObjects module
        RubyModule doModule = runtime.getModule(DATA_OBJECTS_MODULE_NAME);

        // Define the DataObjects module for this Driver
        // e.g. DataObjects::Derby, DataObjects::MySql
        doModule.defineModuleUnder(driver.getModuleName());

        // Define the DataObjects driver classes
        Command.createCommandClass(runtime, driver);
        Connection.createConnectionClass(runtime, driver);
        Result.createResultClass(runtime, driver);
View Full Code Here

TOP

Related Classes of data_objects.drivers.DriverDefinition

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.