@Transactional
  public void refresh(ExtensionLinkEntity link) {
    entityManagerProvider.get().refresh(link);
  }
Refresh the state of the extension instance from the database.

@param link
         the extension link to refresh (not {@code null}).
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/ExtensionLinkDAO.java