public class DataSourceManager extends Object implements org.springframework.context.ApplicationListener<EntityUpdateEvent<?>>
| 构造器和说明 |
|---|
DataSourceManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
addDataSource(Class<?> entityClass,
Field field,
DataSource dataSource) |
void |
onApplicationEvent(EntityUpdateEvent<?> entityUpdateEvent) |
public static void addDataSource(Class<?> entityClass, Field field, DataSource dataSource)
public void onApplicationEvent(EntityUpdateEvent<?> entityUpdateEvent)
onApplicationEvent 在接口中 org.springframework.context.ApplicationListener<EntityUpdateEvent<?>>Copyright © 2021. All rights reserved.