Example #1
0
 /**
  * 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);
 }
Example #2
0
 /**
  * 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);
 }