|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectro.isdc.wro.config.jmx.WroConfiguration
public final class WroConfiguration
| Constructor Summary | |
|---|---|
WroConfiguration()
|
|
| Method Summary | |
|---|---|
void |
destroy()
Perform the cleanup, clear the listeners. |
long |
getCacheUpdatePeriod()
|
int |
getConnectionTimeout()
|
String |
getEncoding()
|
String |
getHeader()
|
String |
getMbeanName()
|
long |
getModelUpdatePeriod()
|
static String |
getObjectName()
|
String |
getWroManagerClassName()
|
boolean |
isCacheGzippedContent()
|
boolean |
isDebug()
|
boolean |
isDisableCache()
|
boolean |
isGzipEnabled()
|
boolean |
isIgnoreMissingResources()
|
boolean |
isJmxEnabled()
|
boolean |
isParallelPreprocessing()
|
void |
registerCacheUpdatePeriodChangeListener(PropertyChangeListener listener)
Register a listener which is notified when the modelUpdate period value is changed. |
void |
registerModelUpdatePeriodChangeListener(PropertyChangeListener listener)
Register a listener which is notified when the modelUpdate period value is changed. |
void |
reloadCache()
Force reload of the cache. |
void |
reloadModel()
Force reload of the model. |
void |
setCacheGzippedContent(boolean cacheGzippedContent)
Whether gzipped content should be cached or not. |
void |
setCacheUpdatePeriod(long period)
Set after how many seconds the cache containing merged resources by group name should be updated. |
void |
setConnectionTimeout(int connectionTimeout)
Timeout (seconds) of the url connection for external resources. |
void |
setDebug(boolean debug)
Set the debug mode. |
void |
setDisableCache(boolean disableCache)
|
void |
setEncoding(String encoding)
Encoding to use when writing the processed result into the output stream. |
void |
setGzipEnabled(boolean enable)
|
void |
setHeader(String header)
|
void |
setIgnoreMissingResources(boolean ignoreMissingResources)
|
void |
setJmxEnabled(boolean jmxEnabled)
|
void |
setMbeanName(String mbeanName)
|
void |
setModelUpdatePeriod(long period)
Set after how many seconds the wro model should be updated. |
void |
setParallelPreprocessing(boolean parallelPreprocessing)
|
void |
setWroManagerClassName(String wroManagerClassName)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WroConfiguration()
| Method Detail |
|---|
public static String getObjectName()
public long getCacheUpdatePeriod()
getCacheUpdatePeriod in interface WroConfigurationMBeanpublic long getModelUpdatePeriod()
getModelUpdatePeriod in interface WroConfigurationMBeanpublic void setCacheUpdatePeriod(long period)
setCacheUpdatePeriod in interface WroConfigurationMBeanperiod - number of seconds. Zero or less, means never.public void setModelUpdatePeriod(long period)
setModelUpdatePeriod in interface WroConfigurationMBeanperiod - number of seconds. Zero or less, means never.public boolean isGzipEnabled()
isGzipEnabled in interface WroConfigurationMBeanpublic void setGzipEnabled(boolean enable)
setGzipEnabled in interface WroConfigurationMBeanenable - if true, gzip will be enabled, otherwise will be disabled.public void reloadCache()
reloadCache in interface WroConfigurationMBeanpublic void reloadModel()
reloadModel in interface WroConfigurationMBeanpublic void registerModelUpdatePeriodChangeListener(PropertyChangeListener listener)
listener - to add.public void registerCacheUpdatePeriodChangeListener(PropertyChangeListener listener)
listener - to add.public boolean isDebug()
isDebug in interface WroConfigurationMBeanpublic void setDebug(boolean debug)
WroConfigurationMBean
setDebug in interface WroConfigurationMBeandebug - the debug to setpublic boolean isIgnoreMissingResources()
isIgnoreMissingResources in interface WroConfigurationMBeanpublic void setIgnoreMissingResources(boolean ignoreMissingResources)
setIgnoreMissingResources in interface WroConfigurationMBeanignoreMissingResources - the ignoreMissingResources to setpublic boolean isDisableCache()
public void setDisableCache(boolean disableCache)
disableCache - the disableCache to setpublic boolean isJmxEnabled()
public void setJmxEnabled(boolean jmxEnabled)
jmxEnabled - the jmxEnabled to setpublic boolean isCacheGzippedContent()
isCacheGzippedContent in interface WroConfigurationMBeanpublic void setCacheGzippedContent(boolean cacheGzippedContent)
WroConfigurationMBean
setCacheGzippedContent in interface WroConfigurationMBeancacheGzippedContent - the cacheGzippedContent to setpublic void destroy()
public String getEncoding()
getEncoding in interface WroConfigurationMBeanpublic void setEncoding(String encoding)
WroConfigurationMBean
setEncoding in interface WroConfigurationMBeanencoding - the encoding to setpublic String getWroManagerClassName()
public void setWroManagerClassName(String wroManagerClassName)
wroManagerClassName - the wroManagerClassName to setpublic String getMbeanName()
public void setMbeanName(String mbeanName)
mbeanName - the mbeanName to setpublic String getHeader()
public void setHeader(String header)
header - the header to setpublic int getConnectionTimeout()
getConnectionTimeout in interface WroConfigurationMBeanpublic void setConnectionTimeout(int connectionTimeout)
setConnectionTimeout in interface WroConfigurationMBeanconnectionTimeout - the connectionTimeout to setpublic boolean isParallelPreprocessing()
public void setParallelPreprocessing(boolean parallelPreprocessing)
parallelPreprocessing - the parallelPreprocessing to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||