ro.isdc.wro.model.factory
Class InMemoryCacheableWroModelFactory
java.lang.Object
ro.isdc.wro.model.factory.WroModelFactoryDecorator
ro.isdc.wro.model.factory.InMemoryCacheableWroModelFactory
- All Implemented Interfaces:
- WroModelFactory, ObjectFactory<WroModel>
public class InMemoryCacheableWroModelFactory
- extends WroModelFactoryDecorator
Adds the ability to cache the model in memory. This class replace the schedulerAwareDecorator, because the scheduler
job is not done in decorator anymore, but rather in WroManager.
- Since:
- 1.4.2
- Author:
- Alex Objelean
|
Method Summary |
WroModel |
create()
|
void |
destroy()
Called to indicate that the factory is being taken out of service. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryCacheableWroModelFactory
public InMemoryCacheableWroModelFactory(WroModelFactory decorated)
create
public WroModel create()
-
- Specified by:
create in interface ObjectFactory<WroModel>- Overrides:
create in class WroModelFactoryDecorator
destroy
public void destroy()
- Called to indicate that the factory is being taken out of service.
- Specified by:
destroy in interface WroModelFactory- Overrides:
destroy in class WroModelFactoryDecorator
Copyright © 2008-2011. All Rights Reserved.