Interface WebResourceManager
- All Superinterfaces:
- TimestampedService
- All Known Implementing Classes:
- WebResourceManagerImpl
Service for web resources retrieval.
- Since:
- 7.3
- 
Method SummaryModifier and TypeMethodDescriptiongetProcessor(String name) Returns the corresponding processor with given name, or null if not found.Returns all processors registered on the service, ordered.getProcessors(String type) Returns all processors registered on the service, ordered, for given type.getResource(String name) Returns a registered resource with given name, or null if not found.getResourceBundle(String name) Returns a registered resource bundle with given name, or null if not found.Returns all resource bundles registered on the service.getResources(ResourceContext context, String bundleName, String type) Returns the ordered list of resources for given bundle name, filtered using given type.voidregisterResource(Resource resource) Allows to dynamically register a resource.voidregisterResourceBundle(ResourceBundle bundle) Allows to dynamically register a bundle.voidunregisterResource(Resource resource) Allows to dynamically unregister a resource.voidAllows to dynamically unregister a bundle.Methods inherited from interface org.nuxeo.runtime.service.TimestampedServicegetLastModified, setLastModified
- 
Method Details- 
getResourceReturns a registered resource with given name, or null if not found.Referenced resource can either be a static resource or a style. 
- 
getResourceBundleReturns a registered resource bundle with given name, or null if not found.
- 
getResourceBundlesList<ResourceBundle> getResourceBundles()Returns all resource bundles registered on the service.
- 
getProcessorReturns the corresponding processor with given name, or null if not found.
- 
getProcessorsReturns all processors registered on the service, ordered.
- 
getProcessorsReturns all processors registered on the service, ordered, for given type.
- 
getResourcesReturns the ordered list of resources for given bundle name, filtered using given type.
- 
registerResourceBundleAllows to dynamically register a bundle.- Since:
- 7.4
 
- 
unregisterResourceBundleAllows to dynamically unregister a bundle.- Since:
- 7.4
 
- 
registerResourceAllows to dynamically register a resource.- Since:
- 7.4
 
- 
unregisterResourceAllows to dynamically unregister a resource.- Since:
- 7.4
 
 
-