public class PoolingDataSourceBean extends PoolingDataSource implements BeanNameAware, InitializingBean
PoolingDataSource. Provides sensible defaults and
also supports direct wrapping of a XADataSource instance.| Modifier and Type | Class and Description |
|---|---|
static class |
PoolingDataSourceBean.DirectXADataSource
|
| Constructor and Description |
|---|
PoolingDataSourceBean() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
XAStatefulHolder |
createPooledConnection(Object xaFactory,
ResourceBean bean) |
protected XADataSource |
getDataSource() |
Logger |
getParentLogger() |
void |
init() |
void |
setBeanName(String name) |
void |
setDataSource(XADataSource dataSource)
Set the
XADataSource directly, instead of calling
#setClassName(String). |
public void init()
public void setBeanName(String name)
setBeanName in interface BeanNameAwarepublic void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface InitializingBeanExceptionpublic void setDataSource(XADataSource dataSource)
XADataSource directly, instead of calling
#setClassName(String).dataSource - the data source to useprotected final XADataSource getDataSource()
public XAStatefulHolder createPooledConnection(Object xaFactory, ResourceBean bean) throws Exception
Exceptionpublic Logger getParentLogger() throws SQLFeatureNotSupportedException
SQLFeatureNotSupportedExceptionCopyright © 2015 Pivotal Software, Inc.. All rights reserved.