@Order(value=1) public class MigrationRunner extends Object implements org.springframework.boot.ApplicationRunner, Closeable
| 构造器和说明 |
|---|
MigrationRunner(org.springframework.context.ApplicationContext applicationContext,
MigrationProps props,
ITenantService tenantService,
MigrationRun migrationRun,
MigrationTenantDataRun migrationTenantDataRunRun) |
public MigrationRunner(org.springframework.context.ApplicationContext applicationContext,
MigrationProps props,
ITenantService tenantService,
MigrationRun migrationRun,
MigrationTenantDataRun migrationTenantDataRunRun)
public void run(org.springframework.boot.ApplicationArguments args)
throws Exception
run 在接口中 org.springframework.boot.ApplicationRunnerargs - 参数Exceptionpublic void close()
close 在接口中 Closeableclose 在接口中 AutoCloseable@PreDestroy public void destroy()
Copyright © 2024. All rights reserved.