Package org.joinfaces.rewrite
Class SpringBootAnnotationConfigProvider
java.lang.Object
org.ocpsoft.rewrite.servlet.config.HttpConfigurationProvider
org.joinfaces.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.HttpConfigurationProvider
An 
HttpConfigurationProvider that scans classes in the classpath for
 Rewrite Annotations.
 
 Inspired by the AnnotationConfigProvider: Finds class' names and handles the rule evaluation via
 ClassVisitorImpl.
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionorg.ocpsoft.rewrite.config.ConfigurationgetConfiguration(ServletContext servletContext) booleanintpriority()voidsetBasePackages(List<String> basePackages) voidsetEnabled(boolean enabled) Methods inherited from class org.ocpsoft.rewrite.servlet.config.HttpConfigurationProviderhandles
- 
Constructor Details- 
SpringBootAnnotationConfigProviderpublic SpringBootAnnotationConfigProvider()
 
- 
- 
Method Details- 
getConfiguration@Nullable public org.ocpsoft.rewrite.config.Configuration getConfiguration(ServletContext servletContext) 
- 
prioritypublic int priority()
- 
isEnabledpublic boolean isEnabled()
- 
setEnabledpublic void setEnabled(boolean enabled) 
- 
getBasePackages
- 
setBasePackages
 
-