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

com.giffing.wicket.spring.boot.starter.WicketBootWebApplicationAutoConfiguration Maven / Gradle / Ivy

Go to download

Enables and configures Apache Wicket from within a Spring Boot Application. Used **only** in combination with Spring Boot.

There is a newer version: 4.0.0
Show newest version
package com.giffing.wicket.spring.boot.starter;

import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

import com.giffing.wicket.spring.boot.starter.app.WicketBootSecuredWebApplication;
import com.giffing.wicket.spring.boot.starter.app.WicketBootStandardWebApplication;
import com.giffing.wicket.spring.boot.starter.app.WicketBootWebApplication;

/**
 * Configures the standard {@link WicketBootWebApplication} configuration
 * without security options.
 * 
 * The {@link WicketBootStandardWebApplication} will only be activated if there
 * is no other {@link WicketBootWebApplication} present and if there is not
 * {@link WicketBootSecuredWebApplication} present.
 * 
 * @author Marc Giffing
 *
 */
@Configuration
@ConditionalOnMissingBean({WicketBootSecuredWebApplication.class, WicketBootWebApplication.class})
public class WicketBootWebApplicationAutoConfiguration {

	@Bean
	public WicketBootStandardWebApplication wicketBootWebApplication() {
		return new WicketBootStandardWebApplication();
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy