public class TxApplicationContextListener
extends java.lang.Object
implements org.fabric3.spring.spi.ApplicationContextListener
transactionManager and their
datasource name respectively.| Constructor and Description |
|---|
TxApplicationContextListener() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCreate(org.springframework.context.ConfigurableApplicationContext context) |
void |
onDispose(org.springframework.context.ConfigurableApplicationContext context) |
void |
setDataSourceRegistry(org.fabric3.datasource.spi.DataSourceRegistry dataSourceRegistry) |
void |
setEmfBuilder(org.fabric3.jpa.api.EntityManagerFactoryResolver emfResolver) |
void |
setTm(javax.transaction.TransactionManager tm) |
public void setDataSourceRegistry(org.fabric3.datasource.spi.DataSourceRegistry dataSourceRegistry)
public void setTm(javax.transaction.TransactionManager tm)
public void setEmfBuilder(org.fabric3.jpa.api.EntityManagerFactoryResolver emfResolver)
public void onCreate(org.springframework.context.ConfigurableApplicationContext context)
onCreate in interface org.fabric3.spring.spi.ApplicationContextListenerpublic void onDispose(org.springframework.context.ConfigurableApplicationContext context)
onDispose in interface org.fabric3.spring.spi.ApplicationContextListener