Module org.tentackle.pdo
Package org.tentackle.apt.pdo
Class PersistentOperationServiceAnnotationProcessor
java.lang.Object
javax.annotation.processing.AbstractProcessor
org.tentackle.apt.AbstractServiceAnnotationProcessor
org.tentackle.apt.pdo.PersistentOperationServiceAnnotationProcessor
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes("org.tentackle.pdo.PersistentOperationService")
@AnnotationProcessor
public class PersistentOperationServiceAnnotationProcessor
extends AbstractServiceAnnotationProcessor
Annotation processor for the
Enforces the implementation of the following constructors:
@PersistentOperationService
annotation.Enforces the implementation of the following constructors:
- (
Operation
,DomainContext
) - (
Operation
,Session
) - (
Operation
) - ()
- Author:
- harald
-
Field Summary
Fields inherited from class org.tentackle.apt.AbstractServiceAnnotationProcessor
elementUtils, noArgsVisitor, typeUtils, typeVisitor
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
processClass
(Element element) Processes the annotated class.Methods inherited from class org.tentackle.apt.AbstractServiceAnnotationProcessor
acceptTypeVisitor, getSupportedSourceVersion, init, process, verifyConstructor, verifyImplements
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, isInitialized
-
Constructor Details
-
PersistentOperationServiceAnnotationProcessor
public PersistentOperationServiceAnnotationProcessor()Creates the processor.
-
-
Method Details
-
processClass
Description copied from class:AbstractServiceAnnotationProcessor
Processes the annotated class.- Overrides:
processClass
in classAbstractServiceAnnotationProcessor
- Parameters:
element
- the class
-