public interface BackendFactory
| Modifier and Type | Method and Description |
|---|---|
Collection<Backend> |
getAllBackends()
Creates all backends in classpath.
|
Backend |
getBackendByName(String name)
Creates a backend by name.
|
Backend |
getBackendByUrl(String url)
Creates a backend by jdbc url.
|
static BackendFactory |
getInstance()
The singleton.
|
static BackendFactory getInstance()
Backend getBackendByUrl(String url) throws BackendException
url - the connection urlBackendException - if no such backendBackend getBackendByName(String name) throws BackendException
name - the backend nameBackendException - if no such backendCollection<Backend> getAllBackends() throws BackendException
BackendException - if retrieving all configured backends failedCopyright © 2016 Krake Softwaretechnik. All rights reserved.