spring-framework / org.springframework.oxm.jaxb / Jaxb2Marshaller / setLazyInit

setLazyInit

open fun setLazyInit(lazyInit: Boolean): Unit

Set whether to lazily initialize the JAXBContext for this marshaller. Default is false to initialize on startup; can be switched to true.

Early initialization just applies if #afterPropertiesSet() is called.