public BeanTopiaConfiguration build() { BeanTopiaConfiguration built = copyOf(beanTopiaConfiguration); check(built); return built; }
check(result); return result;
public Map<String, String> toMap(TopiaConfiguration topiaConfiguration) { check(topiaConfiguration); Map<String, String> map = new LinkedHashMap<String, String>();
protected void init() { new TopiaConfigurationBuilder().check(configuration); topiaFiresSupport = new TopiaFiresSupport(); sessionRegistry = new TopiaHibernateSessionRegistry(); // First initialize all the services initServices(); // ToPIA's schema init if (isInitSchema()) { if (log.isInfoEnabled()) { log.info("Schema initialization enabled"); } initSchema(); } else { if (log.isInfoEnabled()) { log.info("Schema initialization disabled"); } } // AThimel 14/06/14 Make sure this method is called AFTER ToPIA's schema init, otherwise Hibernate may have created the schema itself // The next line will trigger the Configuration#buildMappings() method which really initializes Hibernate getHibernateProvider().getHibernateConfiguration(); }