mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
all adapters loading indirectly
This commit is contained in:
@@ -116,13 +116,5 @@ public class StdoutDriverAdapter extends BaseDriverAdapter<StdoutOp, StdoutSpace
|
||||
return stmtTemplate;
|
||||
}
|
||||
|
||||
@Service(value = DriverAdapterLoader.class,selector = "stdout")
|
||||
public static class Loader implements DriverAdapterLoader {
|
||||
@Override
|
||||
public StdoutDriverAdapter load(NBComponent parent, NBLabels childLabels) {
|
||||
return new StdoutDriverAdapter(parent,childLabels);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
package io.nosqlbench.adapter.stdout;
|
||||
|
||||
import io.nosqlbench.adapter.diag.DriverAdapterLoader;
|
||||
import io.nosqlbench.api.labels.NBLabels;
|
||||
import io.nosqlbench.components.NBComponent;
|
||||
import io.nosqlbench.nb.annotations.Service;
|
||||
|
||||
@Service(value = DriverAdapterLoader.class, selector = "stdout")
|
||||
public class StdoutDriverAdapterLoader implements DriverAdapterLoader {
|
||||
@Override
|
||||
public StdoutDriverAdapter load(NBComponent parent, NBLabels childLabels) {
|
||||
return new StdoutDriverAdapter(parent, childLabels);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user