public interface WebResourceManager extends TimestampedService
| Modifier and Type | Method and Description | 
|---|---|
Processor | 
getProcessor(String name)
Returns the corresponding processor with given name, or null if not found. 
 | 
List<Processor> | 
getProcessors()
Returns all processors registered on the service, ordered. 
 | 
List<Processor> | 
getProcessors(String type)
Returns all processors registered on the service, ordered, for given type. 
 | 
Resource | 
getResource(String name)
Returns a registered resource with given name, or null if not found. 
 | 
ResourceBundle | 
getResourceBundle(String name)
Returns a registered resource bundle with given name, or null if not found. 
 | 
List<ResourceBundle> | 
getResourceBundles()
Returns all resource bundles registered on the service. 
 | 
List<Resource> | 
getResources(ResourceContext context,
            String bundleName,
            String type)
Returns the ordered list of resources for given bundle name, filtered using given type. 
 | 
void | 
registerResource(Resource resource)
Allows to dynamically register a resource. 
 | 
void | 
registerResourceBundle(ResourceBundle bundle)
Allows to dynamically register a bundle. 
 | 
void | 
unregisterResource(Resource resource)
Allows to dynamically unregister a resource. 
 | 
void | 
unregisterResourceBundle(ResourceBundle bundle)
Allows to dynamically unregister a bundle. 
 | 
getLastModified, setLastModifiedResource getResource(String name)
Referenced resource can either be a static resource or a style.
ResourceBundle getResourceBundle(String name)
List<ResourceBundle> getResourceBundles()
Processor getProcessor(String name)
List<Processor> getProcessors()
List<Processor> getProcessors(String type)
List<Resource> getResources(ResourceContext context, String bundleName, String type)
void registerResourceBundle(ResourceBundle bundle)
void unregisterResourceBundle(ResourceBundle bundle)
void registerResource(Resource resource)
void unregisterResource(Resource resource)
Copyright © 2019 Nuxeo. All rights reserved.