|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ro.isdc.wro.manager.WroManager
public class WroManager
Contains all the factories used by optimizer in order to perform the logic. This object should be created through
WroManagerFactory
, in order to ensure that all dependencies are injected properly. In other words, avoid
setting the fields explicitly after creating a new instance of WroManager
.
Most of the fields of this class are annotated with @Inject, in order to ensure that each instance can benefit use
@Inject
annotation on its fields.
Nested Class Summary | |
---|---|
static class |
WroManager.Builder
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final void process() throws IOException
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 WroConfigurationChangeListener
period
- number of seconds used by scheduler to trigger cache change.public final void onModelPeriodChanged(long period)
onModelPeriodChanged
in interface WroConfigurationChangeListener
period
- number of seconds used by scheduler to trigger model change.public final void destroy()
WroManager
is being taken out of service.
public final HashStrategy getHashStrategy()
public final WroModelFactory getModelFactory()
public final ProcessorsFactory getProcessorsFactory()
public final CacheStrategy<CacheKey,CacheValue> getCacheStrategy()
public final UriLocatorFactory getUriLocatorFactory()
public final NamingStrategy getNamingStrategy()
public final GroupExtractor getGroupExtractor()
public CacheKeyFactory getCacheKeyFactory()
public MetaDataFactory getMetaDataFactory()
@Deprecated public final void registerCallback(LifecycleCallback callback)
callback
- LifecycleCallback
to register.public final void registerCallback(ObjectFactory<LifecycleCallback> callbackFactory)
callbackFactory
- ObjectFactory
responsible for creating LifecycleCallback
instance.public LifecycleCallbackRegistry getCallbackRegistry()
public ResourceAuthorizationManager getResourceAuthorizationManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |