com.scudata.common.JNDIConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of esproc Show documentation
Show all versions of esproc Show documentation
SPL(Structured Process Language) A programming language specially for structured data computing.
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