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

MigrationModule - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.migration
Class MigrationModule

java.lang.Object
  extended byorg.jboss.portal.migration.MigrationModule
Direct Known Subclasses:
MigrationModule20_22, MigrationModule22_24

public class MigrationModule
extends java.lang.Object


Field Summary
protected  org.hibernate.cfg.Configuration fromConfiguration
           
protected  org.hibernate.Session fromSession
           
protected  org.hibernate.SessionFactory fromSessionFactory
           
protected  org.hibernate.StatelessSession fromStatelessSession
           
protected  org.hibernate.Transaction fromTx
           
protected  org.hibernate.cfg.Configuration toConfiguration
           
protected  org.hibernate.Session toSession
           
protected  org.hibernate.SessionFactory toSessionFactory
           
protected  org.hibernate.StatelessSession toStatelessSession
           
protected  org.hibernate.Transaction toTx
           
 
Constructor Summary
MigrationModule()
           
 
Method Summary
 void close()
           
 org.hibernate.Session getCurrentFromSession()
           
 org.hibernate.Session getCurrentToSession()
           
 org.hibernate.cfg.Configuration getFromConfiguration()
           
 org.hibernate.SessionFactory getFromSessionFactory()
           
 org.hibernate.cfg.Configuration getToConfiguration()
           
 org.hibernate.SessionFactory getToSessionFactory()
           
 void nextFromSession()
           
 void nextFromStatelessSession()
           
 void nextToSession()
           
 void nextToStatelessSession()
           
 void setFromConfiguration(org.hibernate.cfg.Configuration fromConfiguration)
           
 void setFromSessionFactory(org.hibernate.SessionFactory fromSessionFactory)
           
 void setToConfiguration(org.hibernate.cfg.Configuration toConfiguration)
           
 void setToSessionFactory(org.hibernate.SessionFactory toSessionFactory)
           
protected  void tearDown()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fromSessionFactory

protected org.hibernate.SessionFactory fromSessionFactory

toSessionFactory

protected org.hibernate.SessionFactory toSessionFactory

fromSession

protected org.hibernate.Session fromSession

toSession

protected org.hibernate.Session toSession

fromStatelessSession

protected org.hibernate.StatelessSession fromStatelessSession

toStatelessSession

protected org.hibernate.StatelessSession toStatelessSession

fromTx

protected org.hibernate.Transaction fromTx

toTx

protected org.hibernate.Transaction toTx

fromConfiguration

protected org.hibernate.cfg.Configuration fromConfiguration

toConfiguration

protected org.hibernate.cfg.Configuration toConfiguration
Constructor Detail

MigrationModule

public MigrationModule()
Method Detail

getFromConfiguration

public org.hibernate.cfg.Configuration getFromConfiguration()

setFromConfiguration

public void setFromConfiguration(org.hibernate.cfg.Configuration fromConfiguration)

getToConfiguration

public org.hibernate.cfg.Configuration getToConfiguration()

setToConfiguration

public void setToConfiguration(org.hibernate.cfg.Configuration toConfiguration)

getFromSessionFactory

public org.hibernate.SessionFactory getFromSessionFactory()

setFromSessionFactory

public void setFromSessionFactory(org.hibernate.SessionFactory fromSessionFactory)

getToSessionFactory

public org.hibernate.SessionFactory getToSessionFactory()

setToSessionFactory

public void setToSessionFactory(org.hibernate.SessionFactory toSessionFactory)

nextFromSession

public void nextFromSession()
                     throws java.lang.Exception
Throws:
java.lang.Exception

nextToSession

public void nextToSession()
                   throws java.lang.Exception
Throws:
java.lang.Exception

nextFromStatelessSession

public void nextFromStatelessSession()
                              throws java.lang.Exception
Throws:
java.lang.Exception

nextToStatelessSession

public void nextToStatelessSession()
                            throws java.lang.Exception
Throws:
java.lang.Exception

getCurrentFromSession

public org.hibernate.Session getCurrentFromSession()

getCurrentToSession

public org.hibernate.Session getCurrentToSession()

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Throws:
java.lang.Exception