DODS 7.3 API

org.enhydra.dods.jts.xapool
Class Provider

java.lang.Object
  extended by org.enhydra.dods.jts.xapool.Provider

public class Provider
extends java.lang.Object

Class responisble to initialize XAPool.

Version:
0.11
Author:
V.Puskas, J.P. Rojas

Constructor Summary
Provider()
           
 
Method Summary
static void init(javax.naming.Context ctx)
          Reads property "org.enhydra.dods.jts.DSNames" from ctx's environment to determine what datasources to create.
static void stop(javax.naming.Context ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Provider

public Provider()
Method Detail

init

public static void init(javax.naming.Context ctx)
                 throws javax.naming.NamingException
Reads property "org.enhydra.dods.jts.DSNames" from ctx's environment to determine what datasources to create.

Value of this property has to be comma-separated list of names. Such name is than used to load a property file that contains datasource description.

Parameters:
ctx -
Throws:
javax.naming.NamingException

stop

public static void stop(javax.naming.Context ctx)
                 throws java.lang.Exception
Throws:
java.lang.Exception

DODS 7.3 API