com.atlassian.jira.config.database
Class ManagedDatasourceInfoSupplier

java.lang.Object
  extended by com.atlassian.jira.config.database.ManagedDatasourceInfoSupplier
All Implemented Interfaces:
com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo>

public class ManagedDatasourceInfoSupplier
extends Object
implements com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo>

Implements a minimal method of acquiring access to the OfBiz DatasourceInfo that uses the DatabaseConfigurationManager's DatabaseConfig.

Since:
v4.4

Constructor Summary
ManagedDatasourceInfoSupplier(DatabaseConfigurationManager databaseConfigurationManager)
           
 
Method Summary
 org.ofbiz.core.entity.config.DatasourceInfo get()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ManagedDatasourceInfoSupplier

public ManagedDatasourceInfoSupplier(DatabaseConfigurationManager databaseConfigurationManager)
Method Detail

get

public org.ofbiz.core.entity.config.DatasourceInfo get()
Specified by:
get in interface com.google.common.base.Supplier<org.ofbiz.core.entity.config.DatasourceInfo>


Copyright © 2002-2013 Atlassian. All Rights Reserved.