|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectro.isdc.wro.util.AbstractDecorator<WroModelFactory>
ro.isdc.wro.model.factory.DefaultWroModelFactoryDecorator
public final class DefaultWroModelFactoryDecorator
Decorates the model factory with callback registry calls & other useful factories. Another responsibility of this decorator is make model creation thread safe.
This class doesn't extendAbstractDecorator because we have to enhance the decorated object with new
decorators.
| Method Summary | |
|---|---|
WroModel |
create()
|
static WroModelFactory |
decorate(WroModelFactory decorated,
List<Transformer<WroModel>> modelTransformers)
Factory method which takes care of redundant decoration. |
void |
destroy()
Called to indicate that the factory is being taken out of service. |
| Methods inherited from class ro.isdc.wro.util.AbstractDecorator |
|---|
getDecoratedObject, getOriginalDecoratedObject, getOriginalDecoratedObject, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static WroModelFactory decorate(WroModelFactory decorated,
List<Transformer<WroModel>> modelTransformers)
public WroModel create()
create in interface ObjectFactory<WroModel>public void destroy()
destroy in interface WroModelFactory
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||