public abstract class AbstractFactory extends Object
Modifier and Type | Class and Description |
---|---|
static class |
AbstractFactory.FactoryHelper
Helps lookup implementation configuration, load the class and construct an instance.
|
Constructor and Description |
---|
AbstractFactory() |
Modifier and Type | Method and Description |
---|---|
static Object |
getInstance(String interfaceName,
String defaultImpl)
Returns singleton instance of the interface implementation, creating it on first access in a thread safe way.
|
static Object |
newInstance(String interfaceName,
String defaultImpl)
Returns new instance of the interface implementation.
|
Copyright © 2011-2018 restSQL Project Contributors