INSTANCE - Type of instance which can be created by using this factory.CONFIG - Configuration type which contains all attributes to create a new instance.public interface Factory<INSTANCE,CONFIG>
| Modifier and Type | Method and Description |
|---|---|
INSTANCE |
newInstance(CONFIG config)
Creates a new instance with the given configuration.
|
INSTANCE newInstance(CONFIG config) throws InstantiationException, InterruptedException
config - the configuration for the instanceInstantiationException - if the initialization failsInterruptedException - if the initialization is interruptedCopyright © 2015–2018 openbase.org. All rights reserved.