|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectro.isdc.wro.manager.WroManager
public class WroManager
Contains all the factories used by optimizer in order to perform the logic.
| Constructor Summary | |
|---|---|
WroManager()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WroManager()
| Method Detail |
|---|
public final void process()
throws IOException
request - HttpServletRequest to process.response - HttpServletResponse where to write the result content.
IOException - when any IO related problem occurs or if the request cannot be processed.
public final String encodeVersionIntoGroupPath(String groupName,
ResourceType resourceType,
boolean minimize)
protected String formatVersionedResource(String hash,
String resourcePath)
hash - Hash of the resource.resourcePath - Path of the resource.
public final void onCachePeriodChanged(long period)
onCachePeriodChanged in interface WroConfigurationChangeListenerpublic final void onModelPeriodChanged(long period)
onModelPeriodChanged in interface WroConfigurationChangeListenerpublic final void destroy()
WroManager is being taken out of service.
public final void registerCallback(PropertyChangeListener callback)
registerCallback in interface CacheChangeCallbackAwarecallback - to invoke when the cache is changed.public final WroManager setGroupExtractor(GroupExtractor groupExtractor)
groupExtractor - the uriProcessor to setpublic final WroManager setModelFactory(WroModelFactory modelFactory)
modelFactory - the modelFactory to setpublic final WroManager setCacheStrategy(CacheStrategy<CacheEntry,ContentHashEntry> cacheStrategy)
cacheStrategy - the cache to setpublic WroManager setHashBuilder(HashBuilder contentDigester)
contentDigester - the contentDigester to setpublic WroModelFactory getModelFactory()
public ProcessorsFactory getProcessorsFactory()
public WroManager setProcessorsFactory(ProcessorsFactory processorsFactory)
processorsFactory - the processorsFactory to setpublic WroManager setUriLocatorFactory(UriLocatorFactory uriLocatorFactory)
uriLocatorFactory - the uriLocatorFactory to setpublic CacheStrategy<CacheEntry,ContentHashEntry> getCacheStrategy()
public UriLocatorFactory getUriLocatorFactory()
public final NamingStrategy getNamingStrategy()
public final WroManager setNamingStrategy(NamingStrategy namingStrategy)
namingStrategy - the namingStrategy to setpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||