You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Tzvetanov Grigorov (Jira)" <ji...@apache.org> on 2021/05/28 08:58:00 UTC

[jira] [Created] (WICKET-6889) Provide specialization of SpringWebApplicationFactory that could load Spring configuration class

Martin Tzvetanov Grigorov created WICKET-6889:
-------------------------------------------------

             Summary: Provide specialization of SpringWebApplicationFactory that could load Spring configuration class
                 Key: WICKET-6889
                 URL: https://issues.apache.org/jira/browse/WICKET-6889
             Project: Wicket
          Issue Type: Improvement
          Components: wicket-spring
            Reporter: Martin Tzvetanov Grigorov
            Assignee: Martin Tzvetanov Grigorov


Currently SpringWebApplicationFactory uses by default org.springframework.web.context.support.XmlWebApplicationContext, i.e. it can load Spring configuration only from XML config.

 

org.apache.wicket.spring.SpringWebApplicationFactory#newApplicationContext() provides means for using other types of org.springframework.web.context.ConfigurableWebApplicationContext.

It would be nice if Wicket provides a specialization of org.apache.wicket.spring.SpringWebApplicationFactory that can load the context from Spring @Configuration class



--
This message was sent by Atlassian Jira
(v8.3.4#803005)