com.evolveum.midpoint.repo.sql
Class CompositeDataSource

java.lang.Object
  extended by com.evolveum.midpoint.repo.sql.CompositeDataSource
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class CompositeDataSource
extends Object
implements org.springframework.context.ApplicationContextAware

Author:
lazyman

Constructor Summary
CompositeDataSource()
           
 
Method Summary
 SqlRepositoryConfiguration getConfiguration()
           
 DataSource getDataSource()
           
 boolean isTesting()
           
 void setApplicationContext(org.springframework.context.ApplicationContext context)
           
 void setConfiguration(SqlRepositoryConfiguration configuration)
           
 void setTesting(boolean testing)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompositeDataSource

public CompositeDataSource()
Method Detail

getConfiguration

public SqlRepositoryConfiguration getConfiguration()

setConfiguration

public void setConfiguration(SqlRepositoryConfiguration configuration)

setApplicationContext

public void setApplicationContext(org.springframework.context.ApplicationContext context)
                           throws org.springframework.beans.BeansException
Specified by:
setApplicationContext in interface org.springframework.context.ApplicationContextAware
Throws:
org.springframework.beans.BeansException

isTesting

public boolean isTesting()

setTesting

public void setTesting(boolean testing)

getDataSource

public DataSource getDataSource()
                         throws RepositoryServiceFactoryException
Throws:
RepositoryServiceFactoryException


Copyright © 2013 evolveum. All Rights Reserved.