Class RxMicroAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- io.rxmicro.annotation.processor.common.component.impl.AbstractRxMicroProcessor
-
- io.rxmicro.annotation.processor.common.BaseRxMicroAnnotationProcessor
-
- io.rxmicro.annotation.processor.RxMicroAnnotationProcessor
-
- All Implemented Interfaces:
Processor
public final class RxMicroAnnotationProcessor extends io.rxmicro.annotation.processor.common.BaseRxMicroAnnotationProcessorThis is theRxMicro Annotation Processor.The RxMicro framework uses the
Processor, which generates standard code using RxMicro annotations.Thus, the RxMicro framework is a framework of declarative programming.
Using the RxMicro framework, the developer focuses on writing the business logic of a microservice. Then he configures the desired standard behavior with RxMicro annotations. When compiling a project, the
RxMicro Annotation Processorgenerates additional classes. Generated classes contain a standard logic that ensures the functionality of the created microservice.How it works?
While solving a business task, the developer writes Micro service source code. Then the developer configures the desired standard microservice behavior via RxMicro annotations. After that, the developer compiles the project.
Since the
RxMicro Annotation Processoris configured in maven, when compiling a project this processor handles the source code of the microservice and generates the additional classes: Micro service generated code. After that, the compiler compiles the source and generated microservice codes: Micro service byte code and Micro service generated byte code.The compiled source and generated codes along with the RxMicro runtime libraries perform useful work.
- Since:
- 0.1
- Author:
- nedis
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description RxMicroAnnotationProcessor()Default constructor for theRxMicro Annotation Processor.
-
Method Summary
-
Methods inherited from class io.rxmicro.annotation.processor.common.BaseRxMicroAnnotationProcessor
getAnnotationProcessorType, getSupportedAnnotationTypes, process
-
Methods inherited from class io.rxmicro.annotation.processor.common.component.impl.AbstractRxMicroProcessor
generateClasses, getDependenciesModules, getSupportedOptions, getSupportedSourceVersion, init, process
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, isInitialized
-
-