public class LazyWroModelFactoryDecorator extends AbstractDecorator<LazyInitializer<WroModelFactory>> implements WroModelFactory
WroModelFactory. Useful when a factory initialization has a lot of
dependencies, which shouldn't be required as long as factory is not used.| Constructor and Description |
|---|
LazyWroModelFactoryDecorator(LazyInitializer<WroModelFactory> initializer) |
| Modifier and Type | Method and Description |
|---|---|
WroModel |
create() |
void |
destroy()
Called to indicate that the factory is being taken out of service.
|
getDecoratedObject, getOriginalDecoratedObject, getOriginalDecoratedObject, toStringpublic LazyWroModelFactoryDecorator(LazyInitializer<WroModelFactory> initializer)
public WroModel create()
create in interface ObjectFactory<WroModel>public void destroy()
destroy in interface WroModelFactoryCopyright © 2008-2014. All Rights Reserved.