public class PortletContextResourceLoader
extends org.springframework.core.io.DefaultResourceLoader
Within a WebApplicationContext, resource paths are automatically resolved as PortletContext resources by the context implementation.
getResourceByPath(java.lang.String)
,
PortletContextResource
,
GenericPortletBean
Constructor and Description |
---|
PortletContextResourceLoader(PortletContext portletContext)
Create a new PortletContextResourceLoader.
|
Modifier and Type | Method and Description |
---|---|
protected org.springframework.core.io.Resource |
getResourceByPath(String path)
This implementation supports file paths beneath the root of the web application.
|
public PortletContextResourceLoader(PortletContext portletContext)
portletContext
- the PortletContext to load resources withprotected org.springframework.core.io.Resource getResourceByPath(String path)
getResourceByPath
in class org.springframework.core.io.DefaultResourceLoader
PortletContextResource