|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSourceDecorator
Decorates DataSource if required in order to work with XA transactions
| Method Summary | |
|---|---|
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 |
| Method Detail |
|---|
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 registered
boolean appliesTo(DataSource dataSource,
MuleContext muleContext)
dataSource - dataSource to checkmuleContext - mule context associated to the current mule application
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||