eu.etaxonomy.cdm.database
Class DataSourceReloader

java.lang.Object
  extended by eu.etaxonomy.cdm.database.DataSourceReloader

@Component
public class DataSourceReloader
extends Object


Constructor Summary
DataSourceReloader()
           
 
Method Summary
 UpdatableRoutingDataSource getDataSource()
           
 Map<String,DataSourceInfo> reload()
           
 void setSessionFacory(org.hibernate.SessionFactory factory)
           
 Map<String,DataSourceInfo> test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceReloader

public DataSourceReloader()
Method Detail

setSessionFacory

@Autowired
public void setSessionFacory(org.hibernate.SessionFactory factory)

getDataSource

public UpdatableRoutingDataSource getDataSource()

reload

public Map<String,DataSourceInfo> reload()

test

public Map<String,DataSourceInfo> test()


Copyright © 2007-2013 EDIT. All Rights Reserved.