public interface MicroblogConfigurationDao
Modifier and Type | Method and Description |
---|---|
MicroblogConfiguration |
getConfig()
getConfig
|
MicroblogProfile |
getDefaultProfile()
getDefaultProfile
|
MicroblogProfile |
getProfile(String name)
getProfile
|
void |
reloadConfiguration()
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.
|
void |
saveProfile(MicroblogProfile profile)
Add or update a profile in the configuration.
|
MicroblogConfiguration getConfig()
getConfig
MicroblogConfiguration
object.MicroblogProfile getProfile(String name)
getProfile
name
- a String
object.MicroblogProfile
object.MicroblogProfile getDefaultProfile()
getDefaultProfile
MicroblogProfile
object.void reloadConfiguration() throws org.springframework.dao.DataAccessResourceFailureException
org.springframework.dao.DataAccessResourceFailureException
- if any.void saveProfile(MicroblogProfile profile) throws IOException
profile
- the profileIOException
Copyright © 2021. All rights reserved.