Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -154,14 +154,14 @@ protected void addServicesOnStartup(Map<String, KeyValueHolder<Object, Dictionar
/**
* Creates a holder for the given service, which make it easier to use {@link #addServicesOnStartup(java.util.Map)}
*/
KeyValueHolder<Object, Dictionary> asService(Object service, Dictionary dict) {
protected KeyValueHolder<Object, Dictionary> asService(Object service, Dictionary dict) {
return new KeyValueHolder<Object, Dictionary>(service, dict);
}

/**
* Creates a holder for the given service, which make it easier to use {@link #addServicesOnStartup(java.util.Map)}
*/
KeyValueHolder<Object, Dictionary> asService(Object service, String key, String value) {
protected KeyValueHolder<Object, Dictionary> asService(Object service, String key, String value) {
Properties prop = new Properties();
if (key != null && value != null) {
prop.put(key, value);
Expand Down