Class DBSourceCreation

  extended by
      extended by
All Implemented Interfaces:

public class DBSourceCreation
extends AbstractDataSourceCreation
implements DataSourceCreation

Constructor Summary
DBSourceCreation(java.lang.String driverName, DBSource source, DriverMetadata dmd)
          Builds a new DBSourceCreation
Method Summary
 void create()
          Creates the source
Methods inherited from class
getDataSourceFactory, setDataSourceFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface

Constructor Detail


public DBSourceCreation(java.lang.String driverName,
                        DBSource source,
                        DriverMetadata dmd)
Builds a new DBSourceCreation

driverName - Name of the driver to be used to create the source
source - information about the table to be created
dmd - Information about the schema of the new source. If the driver is a spatial one, this parameter must be a SpatialDriverMetadata implementation
Method Detail


public void create()
            throws DriverException
Description copied from interface: DataSourceCreation
Creates the source

Specified by:
create in interface DataSourceCreation
DriverException - if the source creation fails

Copyright © 2005-2006 . All Rights Reserved.