spring-framework / org.springframework.web.servlet.view.tiles3 / TilesConfigurer / setDefinitionsFactoryClass

setDefinitionsFactoryClass

open fun setDefinitionsFactoryClass(definitionsFactoryClass: Class<out DefinitionsFactory>): Unit

Set the org.apache.tiles.definition.DefinitionsFactory implementation to use. Default is org.apache.tiles.definition.UnresolvingLocaleDefinitionsFactory, operating on definition resource URLs.

Specify a custom DefinitionsFactory, e.g. a UrlDefinitionsFactory subclass, to customize the creation of Tiles Definition objects. Note that such a DefinitionsFactory has to be able to handle java.net.URL source objects, unless you configure a different TilesContainerFactory.