public class RepositoryConfig extends Object
| Constructor and Description |
|---|
RepositoryConfig() |
RepositoryConfig(String name)
Build new configuration object that access to DataSource and your properties
Default instance is created if parameter is a
null name |
| Modifier and Type | Method and Description |
|---|---|
void |
add(Properties props) |
void |
add(String key,
String value) |
DataMasking |
getDataMasking() |
String |
getDescription() |
String |
getJdbcAdapterFactory() |
String |
getJndiDataSource() |
String |
getName() |
Properties |
getProperties() |
String |
getProperty(RepositoryProperty proper) |
String |
getProperty(String proper) |
String |
getProperty(String proper,
String defaultValue) |
String |
getQueryNameStrategy() |
RepositoryType |
getRepositoryType() |
SqlDialect |
getSqlDialect() |
Statistical |
getStatistical() |
TransactionType |
getTransactionType() |
boolean |
hasProperties() |
boolean |
isReloadableXmlEnable() |
boolean |
isShotKeyEnable() |
DataSource |
lookup() |
void |
setSqlDialect(SqlDialect sqlDialect) |
String |
toString() |
public RepositoryConfig()
public RepositoryConfig(String name)
null namename - from repository configurationIllegalArgumentException - if the name is nullpublic String getQueryNameStrategy()
public String getJdbcAdapterFactory()
public boolean isShotKeyEnable()
public boolean isReloadableXmlEnable()
public void add(Properties props)
public boolean hasProperties()
public DataMasking getDataMasking()
public String getDescription()
public String getName()
public TransactionType getTransactionType()
public SqlDialect getSqlDialect()
public void setSqlDialect(SqlDialect sqlDialect)
public Statistical getStatistical()
public String getJndiDataSource()
public Properties getProperties()
public String getProperty(RepositoryProperty proper)
public DataSource lookup()
public RepositoryType getRepositoryType()
Copyright © 2012–2022 jkniv, copyleft code. All rights reserved.