public class DbConfigResolverFactoryBean extends AnnotatedObjectFactoryBean<DbConfigResolver> implements AnnotatedObject, MuleContextAware, Disposable
DbConfigResolver
instancesPROPERTY_NAME
PHASE_NAME
Constructor and Description |
---|
DbConfigResolverFactoryBean() |
DbConfigResolverFactoryBean(ConfigurableDbConfigFactory dbConfigFactory) |
Modifier and Type | Method and Description |
---|---|
protected DataSourceFactory |
createDataSourceFactory() |
void |
dispose()
A lifecycle method where implementor should free up any resources.
|
protected DbConfigResolver |
doCreateInstance() |
Map<String,String> |
getConnectionProperties() |
protected String |
getEffectiveUrl() |
String |
getName() |
Class<?> |
getObjectType() |
String |
getUrl() |
void |
setConnectionProperties(Map<String,String> connectionProperties) |
void |
setconnectionTimeout(int connectionTimeout) |
void |
setCustomDataTypes(List<DbType> customDataTypes) |
void |
setDataSource(DataSource dataSource) |
void |
setDriverClassName(String driverClassName) |
void |
setMuleContext(MuleContext context) |
void |
setName(String name) |
void |
setPassword(String password) |
void |
setPoolingProfile(DbPoolingProfile poolingProfile) |
void |
setRetryPolicyTemplate(RetryPolicyTemplate retryPolicyTemplate) |
void |
setTransactionIsolation(int transactionIsolation) |
void |
setUrl(String url) |
void |
setUser(String user) |
void |
setUseXaTransactions(boolean useXaTransactions) |
protected void |
validate() |
createInstance, getAnnotation, getAnnotations, setAnnotations
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnnotation, getAnnotations, setAnnotations
public DbConfigResolverFactoryBean()
public DbConfigResolverFactoryBean(ConfigurableDbConfigFactory dbConfigFactory)
public Class<?> getObjectType()
getObjectType
in interface org.springframework.beans.factory.FactoryBean<DbConfigResolver>
getObjectType
in class org.springframework.beans.factory.config.AbstractFactoryBean<DbConfigResolver>
protected DbConfigResolver doCreateInstance() throws Exception
doCreateInstance
in class AnnotatedObjectFactoryBean<DbConfigResolver>
Exception
protected DataSourceFactory createDataSourceFactory()
protected void validate()
protected String getEffectiveUrl()
public String getUrl()
public void setUrl(String url)
public String getName()
public void setName(String name)
public void setTransactionIsolation(int transactionIsolation)
public void setconnectionTimeout(int connectionTimeout)
public void setPassword(String password)
public void setUser(String user)
public void setDataSource(DataSource dataSource)
public void setDriverClassName(String driverClassName)
public void setConnectionProperties(Map<String,String> connectionProperties)
public void setMuleContext(MuleContext context)
setMuleContext
in interface MuleContextAware
public void setUseXaTransactions(boolean useXaTransactions)
public void setPoolingProfile(DbPoolingProfile poolingProfile)
public void setRetryPolicyTemplate(RetryPolicyTemplate retryPolicyTemplate)
public void dispose()
Disposable
dispose
in interface Disposable
Copyright © 2003–2016 MuleSoft, Inc.. All rights reserved.