/** * Registers DbOom entities. By default, scans the class path and register entities automagically. */ protected void registerDbEntities(DbOomManager dbOomManager) { AutomagicDbOomConfigurator dbcfg = new AutomagicDbOomConfigurator(); appScanner.configure(dbcfg); dbcfg.configure(dbOomManager); }
/** * Configures Petite container. By default scans the class path for petite beans and registers * them automagically. */ protected void registerPetiteContainerBeans(PetiteContainer petiteContainer) { AutomagicPetiteConfigurator pcfg = new AutomagicPetiteConfigurator(); appScanner.configure(pcfg); pcfg.configure(petiteContainer); }