org.springframework.extensions.surf.resource.support
Class VirtualizedWebappResourceLoaderFactory
java.lang.Object
org.springframework.extensions.surf.support.BaseFactory
org.springframework.extensions.surf.resource.AbstractResourceLoaderFactory
org.springframework.extensions.surf.resource.AbstractCachingResourceLoaderFactory
org.springframework.extensions.surf.resource.support.VirtualizedWebappResourceLoaderFactory
- All Implemented Interfaces:
- org.springframework.context.ApplicationContextAware, ResourceLoaderFactory
public class VirtualizedWebappResourceLoaderFactory
- extends AbstractCachingResourceLoaderFactory
Resource loader factory implementation for web applications.
- Author:
- muzquiano
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VirtualizedWebappResourceLoaderFactory
public VirtualizedWebappResourceLoaderFactory()
buildResourceLoader
public ResourceLoader buildResourceLoader(String protocolId,
String endpointId)
- Specified by:
buildResourceLoader
in class AbstractCachingResourceLoaderFactory
canHandle
public boolean canHandle(String protocolId)
- Description copied from interface:
ResourceLoaderFactory
- Identifies whether this factory can produce resource
loaders that can handle the given protocol
- Specified by:
canHandle
in interface ResourceLoaderFactory
- Overrides:
canHandle
in class AbstractResourceLoaderFactory
- Returns:
- whether this factory can produce for the given protocol
getSupportedProtocols
public String[] getSupportedProtocols()
- Description copied from class:
AbstractResourceLoaderFactory
- Gets the supported protocols.
- Specified by:
getSupportedProtocols
in class AbstractResourceLoaderFactory
- Returns:
- the supported protocols
Copyright © 2009 SpringSource, Inc. All Rights Reserved.