
com.giffing.wicket.spring.boot.context.extensions.WicketApplicationInitConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wicket-spring-boot-context Show documentation
Show all versions of wicket-spring-boot-context Show documentation
Provides several constructs which allow developers to build
custom auto-configuration classes.
package com.giffing.wicket.spring.boot.context.extensions;
import org.apache.wicket.protocol.http.WebApplication;
/**
* To provide custom modification of the init Method of Wickets {@link WebApplication}
* class. An extension class should implement this interface. All classes implementing
* this interface are injected in Wickets starter WicketBootWebApplication class as a list and on
* each implementation the init method is called with the current {@link WebApplication}.
*
* Every Spring Bean regardless to the package location which implements this interface
* will be considered as an extension. This means that you can write your own extension
* in a different project. You only have to ensure that the class will picked up by Springs
* component scan (or other bean configuration possibilities.
*
* @author Marc Giffing
*
*/
public interface WicketApplicationInitConfiguration {
/**
* With the given {@link WebApplication} the
* {@link WicketApplicationInitConfiguration}s can modify/extend the init()
* method of the {@link WebApplication}.
*
* @param webApplication
* the current {@link WebApplication}
*/
void init(WebApplication webApplication);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy