public class DefaultLocatorBuilderFactory extends Object implements LocatorBuilderFactory
LocatorBuilderFactory will only create a new
instance, if there is no spring bean available.
A created instance will be registered as singelton. The instantiation will be executed before first access on given implementation.
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
configurableBeanFactory |
protected org.apache.commons.logging.Log |
logger |
protected VaniContext |
vaniContext |
| Constructor and Description |
|---|
DefaultLocatorBuilderFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf) |
| Modifier and Type | Method and Description |
|---|---|
LocatorBuilder |
get(Class<? extends LocatorBuilder> builderClass)
This method gets an instance for provided
builderClass. |
protected final org.apache.commons.logging.Log logger
protected org.springframework.beans.factory.config.ConfigurableListableBeanFactory configurableBeanFactory
@Autowired protected VaniContext vaniContext
public DefaultLocatorBuilderFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory bf)
public LocatorBuilder get(Class<? extends LocatorBuilder> builderClass)
LocatorBuilderFactorybuilderClass.get in interface LocatorBuilderFactorybuilderClass or
creates new one.Copyright © 2016. All rights reserved.