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
,ConfigurationProvider<ServletContext>
public class SpringBootAnnotationConfigProvider extends org.ocpsoft.rewrite.servlet.config.HttpConfigurationProvider
AnHttpConfigurationProvider
that 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 Configuration
getConfiguration(ServletContext servletContext)
int
priority()
-
-
-
Constructor Detail
-
SpringBootAnnotationConfigProvider
public SpringBootAnnotationConfigProvider(RewriteProperties.AnnotationConfigProviderProperties properties)
-
-
Method Detail
-
getConfiguration
@Nullable public Configuration getConfiguration(ServletContext servletContext)
-
priority
public int priority()
-
-