Package com.hardcode.driverManager

Examples of com.hardcode.driverManager.DriverValidation


  private void setup() throws IOException, InstantiationException,
      IllegalAccessException, ClassNotFoundException, DriverLoadException {

    // Setup de los drivers
    DriverManager dm = new DriverManager();
    dm.setValidation(new DriverValidation() {
      public boolean validate(Driver d) {
        return ((d instanceof ObjectDriver) || (d instanceof DBDriver));
      }
    });
    dm.loadDrivers(new File("drivers"));
View Full Code Here

TOP

Related Classes of com.hardcode.driverManager.DriverValidation

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.