All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.giffing.wicket.spring.boot.context.extensions.WicketApplicationInitConfiguration Maven / Gradle / Ivy

Go to download

Provides several constructs which allow developers to build custom auto-configuration classes.

There is a newer version: 4.0.0
Show newest version
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