public interface DataSourceDecorator
DataSource if required in order to work with XA transactions| Modifier and Type | Method and Description |
|---|---|
boolean |
appliesTo(DataSource dataSource,
MuleContext muleContext)
Indicates whether or not this decorator can decorate a given datasource
|
DataSource |
decorate(DataSource dataSource,
String dataSourceName,
DbPoolingProfile dbPoolingProfile,
MuleContext muleContext)
Decorates a dataSource
|
DataSource decorate(DataSource dataSource, String dataSourceName, DbPoolingProfile dbPoolingProfile, MuleContext muleContext)
dataSource - dataSource to decorate. Non nulldataSourceName - dataSource bean namedbPoolingProfile - pooling profile use to create the wrapped dataSourcemuleContext - mule context where the wrapped dataSource has to be registeredboolean appliesTo(DataSource dataSource, MuleContext muleContext)
dataSource - dataSource to checkmuleContext - mule context associated to the current mule applicationCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.