Interface ServletInitializerCustomizer<T extends TypeDeclaration>
- Type Parameters:
T
- type declaration that this customizer can handle
- All Superinterfaces:
org.springframework.core.Ordered
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface ServletInitializerCustomizer<T extends TypeDeclaration>
extends org.springframework.core.Ordered
Callback for configuring the generated project's servlet initializer. Invoked with an
order
of 0
by default, considering overriding
getOrder()
to customize this behaviour.- Author:
- Andy Wilkinson
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Method Summary
-
Method Details
-
customize
-
getOrder
default int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-