Class SecureMountAnnotationProcessor
- java.lang.Object
-
- javax.annotation.processing.AbstractProcessor
-
- org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
- org.wicketstuff.wicket.mount.secure.processor.SecureMountAnnotationProcessor
-
- All Implemented Interfaces:
Processor
@SupportedAnnotationTypes({"org.wicketstuff.wicket.servlet3.auth.annotation.SecureAutoMount","org.wicketstuff.wicket.mount.annotation.MountPoint"}) @SupportedSourceVersion(RELEASE_6) public class SecureMountAnnotationProcessor extends org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
Compile time processor to generate source code for mount paths.- Author:
- jsarman
-
-
Field Summary
-
Fields inherited from class javax.annotation.processing.AbstractProcessor
processingEnv
-
-
Constructor Summary
Constructors Constructor Description SecureMountAnnotationProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringgetDefaultMimeExtension(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem)protected StringgetDefaultRootPath(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem)booleanprocess(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)protected voidsetPackagesToScan(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context)-
Methods inherited from class org.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
completeAbstractMountPoints, extractMountPath, generateGenericName, generateSource, getAutoMountContext, init, processMountPoint
-
Methods inherited from class javax.annotation.processing.AbstractProcessor
getCompletions, getSupportedAnnotationTypes, getSupportedOptions, getSupportedSourceVersion, isInitialized
-
-
-
-
Method Detail
-
process
public boolean process(Set<? extends TypeElement> annotations, RoundEnvironment roundEnv)
- Specified by:
processin interfaceProcessor- Specified by:
processin classAbstractProcessor
-
getDefaultRootPath
protected String getDefaultRootPath(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem)
- Specified by:
getDefaultRootPathin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
setPackagesToScan
protected void setPackagesToScan(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context)
- Specified by:
setPackagesToScanin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
getDefaultMimeExtension
protected String getDefaultMimeExtension(org.wicketstuff.wicket.mount.core.processor.AutoMountContext context, TypeElement elem)
- Specified by:
getDefaultMimeExtensionin classorg.wicketstuff.wicket.mount.core.processor.AbstractAutoMountAnnotationProcessor
-
-