|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.isdc.wro.util.AbstractDecorator<WroManagerFactory> ro.isdc.wro.manager.factory.WroManagerFactoryDecorator
public class WroManagerFactoryDecorator
Simple decorator for WroManagerFactory
.
Constructor Summary | |
---|---|
WroManagerFactoryDecorator(WroManagerFactory managerFactory)
|
Method Summary | |
---|---|
WroManager |
create()
|
void |
destroy()
Called by filter indicating that it is being taken out of service. |
protected void |
onBeforeBuild(WroManager.Builder builder)
Allows client code to change the builder before the WroManager is created. |
void |
onCachePeriodChanged(long value)
Invoked when the cachePeriod property is changed. |
void |
onModelPeriodChanged(long value)
Invoked when the modelPeriod property is changed. |
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 |
Constructor Detail |
---|
public WroManagerFactoryDecorator(WroManagerFactory managerFactory)
Method Detail |
---|
public WroManager create()
create
in interface ObjectFactory<WroManager>
protected void onBeforeBuild(WroManager.Builder builder)
WroManager
is created.
builder
- public void onCachePeriodChanged(long value)
onCachePeriodChanged
in interface WroConfigurationChangeListener
value
- number of seconds used by scheduler to trigger cache change.public void onModelPeriodChanged(long value)
onModelPeriodChanged
in interface WroConfigurationChangeListener
value
- number of seconds used by scheduler to trigger model change.public void destroy()
destroy
in interface WroManagerFactory
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |