Search in sources :

Example 1 with UserPreferencesCreator

use of org.apache.qpid.server.store.preferences.UserPreferencesCreator in project qpid-broker-j by apache.

the class AbstractConfiguredObject method createUserPreferences.

private void createUserPreferences() {
    if (this instanceof UserPreferencesCreator) {
        return;
    }
    UserPreferencesCreator preferenceCreator = getAncestor(UserPreferencesCreator.class);
    if (preferenceCreator != null) {
        UserPreferences userPreferences = preferenceCreator.createUserPreferences(this);
        setUserPreferences(userPreferences);
    }
}
Also used : UserPreferences(org.apache.qpid.server.model.preferences.UserPreferences) UserPreferencesCreator(org.apache.qpid.server.store.preferences.UserPreferencesCreator)

Aggregations

UserPreferences (org.apache.qpid.server.model.preferences.UserPreferences)1 UserPreferencesCreator (org.apache.qpid.server.store.preferences.UserPreferencesCreator)1