All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.scudata.common.JNDIConfig Maven / Gradle / Ivy

Go to download

SPL(Structured Process Language) A programming language specially for structured data computing.

There is a newer version: 20241126
Show newest version
package com.scudata.common;

import java.io.*;
public class JNDIConfig extends DBInfo implements Cloneable, Serializable
{
	private String jndi;

	/**
	 * ??ʼ??
	 * @param dbType	???ݿ?????
	 */
	public JNDIConfig( int dbType ) {
		super(dbType);
	}

	/**
	 * ??ʼ??
	 * @param dbType	???ݿ?????
	 * @param jndi	jndi??
	 */
	public JNDIConfig( int dbType, String jndi ) {
		super(dbType);
		this.jndi = jndi;
	}

	/**
	 * ????jndi
	 * @param jndi
	 */
	public void setJNDI( String jndi ) {
		this.jndi = jndi;
	}

	/**
	 * ??ȡjndi
	 * @return
	 */
	public String getJNDI() {
		return this.jndi;
	}

	/**
	 * ???????ӹ???
	 */
	public ISessionFactory createSessionFactory() throws Exception {
		return new JNDISessionFactory( this );
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy