net.aditsu.depeche
public class Depeche extends Object
Constructor and Description |
---|
Depeche() |
Modifier and Type | Method and Description |
---|---|
static ConnSource |
getConnSource(Configuration conf)
Creates a connection source based on a configuration object
|
static Provider |
getDefaultProvider()
Creates a provider based on the default configuration (depeche.properties in the classpath)
|
static Provider |
getProvider(Configuration conf)
Creates a provider based on a configuration object
|
static void |
register(Class<? extends Provider> cl,
String... names)
Deprecated.
use the SPI mechanism
|
static void |
register(ConnSourceBuilder b,
String name)
Deprecated.
use the SPI mechanism
|
@Deprecated public static void register(Class<? extends Provider> cl, String... names)
@Deprecated public static void register(ConnSourceBuilder b, String name)
public static ConnSource getConnSource(Configuration conf)
public static Provider getProvider(Configuration conf)
public static Provider getDefaultProvider()