站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

DataSourceDS - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.migration.bean
Class DataSourceDS

java.lang.Object
  extended byorg.jboss.portal.migration.bean.DataSourceDS

public class DataSourceDS
extends java.lang.Object

Bean representation of fromDS and toDS.

Author:
Roy Russo

Field Summary
 boolean connectexists
           
 java.lang.String datasource22
           
 java.lang.String datasource24
           
 java.lang.String dialect22
           
 java.lang.String dialect24
           
 
Constructor Summary
DataSourceDS()
           
 
Method Summary
 java.lang.String check22()
           
 java.lang.String check24()
           
private  void checkConnection(java.lang.String version, java.lang.String DSName)
          Generic connection check and dialect setter based on given jndi name.
private  int getDatabaseMajorVersion(java.sql.DatabaseMetaData meta)
           
 java.lang.String getDatasource22()
           
 java.lang.String getDatasource24()
           
 java.lang.String getDialect22()
           
 java.lang.String getDialect24()
           
 boolean isConnectexists()
           
 void setConnectexists(boolean connectexists)
           
 void setDatasource22(java.lang.String datasource22)
           
 void setDatasource24(java.lang.String datasource24)
           
 void setDialect22(java.lang.String dialect22)
           
 void setDialect24(java.lang.String dialect24)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

connectexists

public boolean connectexists

datasource22

public java.lang.String datasource22

datasource24

public java.lang.String datasource24

dialect22

public java.lang.String dialect22

dialect24

public java.lang.String dialect24
Constructor Detail

DataSourceDS

public DataSourceDS()
Method Detail

getDialect22

public java.lang.String getDialect22()

setDialect22

public void setDialect22(java.lang.String dialect22)

getDialect24

public java.lang.String getDialect24()

setDialect24

public void setDialect24(java.lang.String dialect24)

getDatasource24

public java.lang.String getDatasource24()

setDatasource24

public void setDatasource24(java.lang.String datasource24)

getDatasource22

public java.lang.String getDatasource22()

setDatasource22

public void setDatasource22(java.lang.String datasource22)

isConnectexists

public boolean isConnectexists()

setConnectexists

public void setConnectexists(boolean connectexists)

check22

public java.lang.String check22()
                         throws java.lang.Exception
Throws:
java.lang.Exception

check24

public java.lang.String check24()
                         throws java.lang.Exception
Throws:
java.lang.Exception

checkConnection

private void checkConnection(java.lang.String version,
                             java.lang.String DSName)
                      throws java.lang.Exception
Generic connection check and dialect setter based on given jndi name.

Parameters:
version -
DSName -
Throws:
java.lang.Exception

getDatabaseMajorVersion

private int getDatabaseMajorVersion(java.sql.DatabaseMetaData meta)