Interface MicroblogConfigurationDao

    • Method Detail

      • reloadConfiguration

        void reloadConfiguration()
                          throws org.springframework.dao.DataAccessResourceFailureException
        The underlying XML-based DAO abstraction in the default implementation doesn't provide access to the container so this method is defined so that access to the container doesn't have to be exposed and a reload can still be controlled by the user. Automatically reading in new values if the file changes is a different use case from expecting the services to alter their state based on a configuration change. This method will most likely be used with event processing and possibly in the ReST API.
        Throws:
        org.springframework.dao.DataAccessResourceFailureException - if any.
      • saveProfile

        void saveProfile​(MicroblogProfile profile)
                  throws java.io.IOException
        Add or update a profile in the configuration.
        Parameters:
        profile - the profile
        Throws:
        java.io.IOException