AbstractConvertContext.java 776 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. package org.dbsyncer.common.model;
  2. import org.dbsyncer.common.spi.ConnectorMapper;
  3. import org.dbsyncer.common.spi.ProxyApplicationContext;
  4. /**
  5. * @author AE86
  6. * @version 1.0.0
  7. * @date 2022/6/30 16:00
  8. */
  9. public abstract class AbstractConvertContext {
  10. /**
  11. * Spring上下文
  12. */
  13. protected ProxyApplicationContext context;
  14. /**
  15. * 目标源连接实例
  16. */
  17. protected ConnectorMapper targetConnectorMapper;
  18. /**
  19. * 目标表
  20. */
  21. protected String targetTableName;
  22. public ProxyApplicationContext getContext() {
  23. return context;
  24. }
  25. public String getTargetTableName() {
  26. return targetTableName;
  27. }
  28. public ConnectorMapper getTargetConnectorMapper() {
  29. return targetConnectorMapper;
  30. }
  31. }