Class SpringBootAnnotationConfigProvider
- java.lang.Object
-
- org.ocpsoft.rewrite.servlet.config.HttpConfigurationProvider
-
- org.joinfaces.autoconfigure.rewrite.SpringBootAnnotationConfigProvider
-
- All Implemented Interfaces:
org.ocpsoft.common.pattern.Specialized<Object>,org.ocpsoft.common.pattern.Weighted,org.ocpsoft.rewrite.config.ConfigurationProvider<ServletContext>
public class SpringBootAnnotationConfigProvider extends org.ocpsoft.rewrite.servlet.config.HttpConfigurationProviderAnHttpConfigurationProviderthat scans classes in the classpath for Rewrite Annotations.Inspired by the
AnnotationConfigProvider: Finds class' names and handles the rule evaluation viaClassVisitorImpl.- See Also:
AnnotationConfigProvider,WebClassesFinder
-
-
Constructor Summary
Constructors Constructor Description SpringBootAnnotationConfigProvider(RewriteProperties.AnnotationConfigProviderProperties properties)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.ocpsoft.rewrite.config.ConfigurationgetConfiguration(ServletContext servletContext)intpriority()
-
-
-
Constructor Detail
-
SpringBootAnnotationConfigProvider
public SpringBootAnnotationConfigProvider(RewriteProperties.AnnotationConfigProviderProperties properties)
-
-
Method Detail
-
getConfiguration
@Nullable public org.ocpsoft.rewrite.config.Configuration getConfiguration(ServletContext servletContext)
-
priority
public int priority()
-
-