package se.sperber.cryson.examples.advancedcrysondiary.initialization; import org.springframework.context.annotation.ImportResource; import org.springframework.stereotype.Component; @Component @ImportResource("security.xml") public class Security {}