org.tinygroup.annotation-注解开发框架

提供tiny框架对注解的定义标签和注解元素的解析注入。并提供如下文件处理器 

                                                处理器名                                                                                          处理器描述                                         
AnnotationClassFileProcessor 注解类文件搜索器,以多线程的方式执行搜索。                                 
AnnotationFileProcessor 注解配置文件处理器,可以处理*.annotation.xml命名规范的注解规范配置文件。                                 



注解配置文件示例如下: 

  1. <annotation-class-matchers>
  2.     <annotation-class-matcher class-name="(.)Flow" annotation-id="service"
  3.         annotation-type="org.tinygroup.service.annotation.ServiceComponent">
  4.         <processor-beans>
  5.             <processor-bean enable="true" name="serviceAnnotationAction">
  6.             </processor-bean>
  7.         </processor-beans>
  8.     </annotation-class-matcher>
  9.     <annotation-class-matcher class-name="(.)Flow" annotation-id="flow"
  10.         annotation-type="org.tinygroup.flow.annotation.config.ComponentDefine">
  11.         <processor-beans>
  12.             <processor-bean enable="true" name="flowAnnotationAction">
  13.             </processor-bean>
  14.         </processor-beans>
  15.     </annotation-class-matcher>
  16. </annotation-class-matchers>
原文地址:https://www.cnblogs.com/j2eetop/p/4610383.html