public void setInitialized() {
    publisher.publish(new JpaInitializedEvent());
  }
Called to indicate that the JPA service is initialized and ready for use.
<p>
This means that the schema for the underlying database matches the JPA entity objects expectations
and the PersistService has been started.
<p>
A {@link JpaInitializedEvent} is published so that subscribers can perform database-related tasks
when the infrastructure is ready.
ambari-server/src/main/java/org/apache/ambari/server/orm/GuiceJpaInitializer.java