io.descoped.rawdata.memory.MemoryRawdataClientInitializer Maven / Gradle / Ivy
The newest version!
package io.descoped.rawdata.memory;
import io.descoped.rawdata.api.RawdataClient;
import io.descoped.rawdata.api.RawdataClientInitializer;
import io.descoped.service.provider.api.ProviderName;
import java.util.Collections;
import java.util.Map;
import java.util.Set;
@ProviderName("memory")
public class MemoryRawdataClientInitializer implements RawdataClientInitializer {
@Override
public String providerId() {
return "memory";
}
@Override
public Set configurationKeys() {
return Collections.emptySet();
}
@Override
public RawdataClient initialize(Map configuration) {
return new MemoryRawdataClient();
}
}