~ubuntu-branches/ubuntu/jaunty/mapserver/jaunty-updates

« back to all changes in this revision

Viewing changes to mapscript/java/examples/ConnPool.java

  • Committer: Bazaar Package Importer
  • Author(s): Fabio Tranchitella
  • Date: 2006-11-02 11:44:17 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20061102114417-pnutjb20kqzl23ua
Tags: 4.10.0-3
debian/control: build-depends on libpq-dev. (Closes: #396565)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
import edu.umn.gis.mapscript.*;
 
2
 
 
3
/**
 
4
 * <p>Title: Mapscript conn pool</p>
 
5
 * <p>Description: n.a. </p>
 
6
 * @author Umberto Nicoletti (umberto.nicoletti@gmail.com)
 
7
 * @version 1.0
 
8
 */
 
9
 
 
10
public class ConnPool {
 
11
 
 
12
  public static void main(String[] args) {
 
13
    // at least it shouldn't crash
 
14
    System.out.println("Running mapscript.msConnPoolCloseUnreferenced");
 
15
    mapscript.msConnPoolCloseUnreferenced();
 
16
    System.out.println("Finished.");
 
17
  }
 
18
 
 
19
}