public void initializeDatabaseContent() {
        if (this.shogunInitEnabled) {
            LOG.info("Initializing SHOGun content");
            for (PersistentObject object : objectsToCreate) {
                if (object instanceof User) {
                    // special handling of users to encrypt the password!
                    initService.saveUser((User) object);
                } else {
                    initService.savePersistentObject(object);
                }
            }
        } else {
            LOG.info("Not initializing anything for SHOGun.");
        }
    }
public void initializeDatabaseContent ( ) { if ( this . shogunInitEnabled ) { LOG . info ( "Initializing SHOGun content" ) ; for ( PersistentObject object : objectsToCreate ) { if ( object instanceof User ) { initService . saveUser ( ( User ) object ) ; } else { initService . savePersistentObject ( object ) ; } } } else { LOG . info ( "Not initializing anything for SHOGun." ) ; } }
The method called on initialization