|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.eng.qbe.datasource.AbstractDataSource
it.eng.qbe.datasource.AbstractHibernateDataSource
public abstract class AbstractHibernateDataSource
The Class AbstractHibernateDataSource.
Field Summary |
---|
Fields inherited from interface it.eng.qbe.datasource.IDataSource |
---|
COMPOSITE_HIBERNATE_DS_TYPE, HIBERNATE_DS_TYPE |
Constructor Summary | |
---|---|
AbstractHibernateDataSource()
|
Method Summary | |
---|---|
protected void |
addDbLink(java.lang.String dmName,
org.hibernate.cfg.Configuration srcCfg,
org.hibernate.cfg.Configuration dstCfg)
Adds the db link. |
protected org.hibernate.cfg.Configuration |
buildEmptyConfiguration()
Builds the empty configuration. |
DBConnection |
getConnection()
Gets the connection. |
protected java.io.File |
getDatamartJarFile(java.lang.String datamartName)
Gets the datamart jar file. |
java.lang.String |
getDatamartName()
Gets the datamart name. |
java.util.List |
getDatamartNames()
Gets the datamart names. |
java.util.Map |
getDblinkMap()
Gets the dblink map. |
Formula |
getFormula()
Gets the formula. |
protected java.io.File |
getViewJarFile(java.lang.String datamartName,
java.lang.String viewName)
Gets the view jar file. |
protected java.util.List |
getViewNames(java.lang.String datamartName)
Gets the view names. |
protected java.io.File |
loadFormulaFile(java.lang.String datamartName)
Load formula file. |
void |
setConnection(DBConnection connection)
Sets the connection. |
void |
setDatamartName(java.lang.String datamartName)
Sets the datamart name. |
void |
setDatamartNames(java.util.List datamartNames)
Sets the datamart names. |
void |
setDblinkMap(java.util.Map dblinkMap)
Sets the dblink map. |
void |
setFormula(Formula formula)
Sets the formula. |
protected static void |
updateCurrentClassLoader(java.io.File jarFile)
Update current class loader. |
Methods inherited from class it.eng.qbe.datasource.AbstractDataSource |
---|
getName, getProperties, getType, setName, setProperties, setType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface it.eng.qbe.datasource.IHibernateDataSource |
---|
getConfiguration, getSessionFactory, getSessionFactory, refresh, refreshDatamartViews, refreshSharedView, refreshSharedViews |
Methods inherited from interface it.eng.qbe.datasource.IDataSource |
---|
getName, getProperties, getType, setProperties |
Constructor Detail |
---|
public AbstractHibernateDataSource()
Method Detail |
---|
protected org.hibernate.cfg.Configuration buildEmptyConfiguration()
public java.lang.String getDatamartName()
IHibernateDataSource
getDatamartName
in interface IHibernateDataSource
public void setDatamartName(java.lang.String datamartName)
datamartName
- the new datamart nameprotected java.io.File getDatamartJarFile(java.lang.String datamartName)
datamartName
- the datamart name
protected java.util.List getViewNames(java.lang.String datamartName)
datamartName
- the datamart name
protected java.io.File getViewJarFile(java.lang.String datamartName, java.lang.String viewName)
datamartName
- the datamart nameviewName
- the view name
protected java.io.File loadFormulaFile(java.lang.String datamartName)
datamartName
- the datamart name
protected static void updateCurrentClassLoader(java.io.File jarFile)
jarFile
- the jar filepublic DBConnection getConnection()
IHibernateDataSource
getConnection
in interface IHibernateDataSource
public void setConnection(DBConnection connection)
connection
- the new connectionpublic java.util.List getDatamartNames()
IHibernateDataSource
getDatamartNames
in interface IHibernateDataSource
public void setDatamartNames(java.util.List datamartNames)
datamartNames
- the new datamart namespublic java.util.Map getDblinkMap()
public void setDblinkMap(java.util.Map dblinkMap)
dblinkMap
- the new dblink mapprotected void addDbLink(java.lang.String dmName, org.hibernate.cfg.Configuration srcCfg, org.hibernate.cfg.Configuration dstCfg)
dmName
- the dm namesrcCfg
- the src cfgdstCfg
- the dst cfgpublic Formula getFormula()
IHibernateDataSource
getFormula
in interface IHibernateDataSource
public void setFormula(Formula formula)
IHibernateDataSource
setFormula
in interface IHibernateDataSource
formula
- the new formula
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |