org.fao.geonet.arcgis
Class ArcSDEConnection

java.lang.Object
  extended by org.fao.geonet.arcgis.ArcSDEConnection
Direct Known Subclasses:
ArcSDEMetadataAdapter

public class ArcSDEConnection
extends Object

Adapter for ArcSDE connections. See http://edndoc.esri.com/arcsde/9.3/api/japi/japi.htm for (very little) information about the ArcSDE Java API.

Author:
heikki doeleman

Field Summary
protected  SeConnection seConnection
           
 
Constructor Summary
ArcSDEConnection(String server, int instance, String database, String username, String password)
          Opens a connection to the specified ArcSDE server.
 
Method Summary
 void close()
          Closes the connection to the ArcSDE server.
protected  void finalize()
          Closes the connection to ArcSDE server in case users of this class neglect to do so.
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

seConnection

protected SeConnection seConnection
Constructor Detail

ArcSDEConnection

public ArcSDEConnection(String server,
                        int instance,
                        String database,
                        String username,
                        String password)
Opens a connection to the specified ArcSDE server.

Parameters:
server -
instance -
database -
username -
password -
Method Detail

close

public void close()
Closes the connection to the ArcSDE server.


finalize

protected void finalize()
                 throws Throwable
Closes the connection to ArcSDE server in case users of this class neglect to do so.

Overrides:
finalize in class Object
Throws:
Throwable


Copyright © 2003-2013. All Rights Reserved.