DataSource.java 445 B

123456789101112131415161718192021222324
  1. /**
  2. * Copyright (c) 2018 人人开源 All rights reserved.
  3. *
  4. * https://www.renren.io
  5. *
  6. * 版权所有,侵权必究!
  7. */
  8. package io.renren.datasource.annotation;
  9. import java.lang.annotation.*;
  10. /**
  11. * 多数据源注解
  12. *
  13. * @author Mark sunlightcs@gmail.com
  14. */
  15. @Target({ElementType.METHOD, ElementType.TYPE})
  16. @Retention(RetentionPolicy.RUNTIME)
  17. @Documented
  18. @Inherited
  19. public @interface DataSource {
  20. String value() default "";
  21. }