public abstract class AbstractCachingResourceLoaderFactory extends AbstractResourceLoaderFactory
orderframeworkUtils, webFrameworkServiceRegistry| Constructor and Description |
|---|
AbstractCachingResourceLoaderFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract ResourceLoader |
buildResourceLoader(String protocolId,
String endpointId) |
ResourceLoader |
getResourceLoader(String protocolId,
String endpointId)
Returns a resource loader that is bound to the given
endpoint.
|
void |
setCacheTimeout(long cacheTimeout)
Sets the cache timeout.
|
canHandle, getOrder, getSupportedProtocols, setOrdergetApplicationContext, getObjectService, getResourceService, getServiceRegistry, getWebFrameworkConfiguration, setApplicationContext, setFrameworkUtils, setServiceRegistrypublic AbstractCachingResourceLoaderFactory()
public void setCacheTimeout(long cacheTimeout)
cacheTimeout - the new cache timeoutpublic ResourceLoader getResourceLoader(String protocolId, String endpointId)
ResourceLoaderFactoryprotocolId - the protocol idendpointId - the endpoint idpublic abstract ResourceLoader buildResourceLoader(String protocolId, String endpointId)
Copyright © 2005–2016 Alfresco Software. All rights reserved.