|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.ClassLoader magoffin.matt.ma2.web.util.ThemeAwareResourceLoader
public class ThemeAwareResourceLoader
ClassLoader implementation that is able to load theme resources.
This class loader allows themes to have their own message resources.
Constructor Summary | |
---|---|
ThemeAwareResourceLoader()
Constrcutor. |
Method Summary | |
---|---|
protected java.net.URL |
findResource(java.lang.String name)
|
java.lang.String |
getBaseThemePath()
|
WebHelper |
getWebHelper()
|
void |
setBaseThemePath(java.lang.String baseThemePath)
|
void |
setServletContext(javax.servlet.ServletContext servletContext)
|
void |
setWebHelper(WebHelper webHelper)
|
Methods inherited from class java.lang.ClassLoader |
---|
clearAssertionStatus, defineClass, defineClass, defineClass, defineClass, definePackage, findClass, findLibrary, findLoadedClass, findResources, findSystemClass, getPackage, getPackages, getParent, getResource, getResourceAsStream, getResources, getSystemClassLoader, getSystemResource, getSystemResourceAsStream, getSystemResources, loadClass, loadClass, resolveClass, setClassAssertionStatus, setDefaultAssertionStatus, setPackageAssertionStatus, setSigners |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ThemeAwareResourceLoader()
Method Detail |
---|
public void setServletContext(javax.servlet.ServletContext servletContext)
setServletContext
in interface org.springframework.web.context.ServletContextAware
protected java.net.URL findResource(java.lang.String name)
findResource
in class java.lang.ClassLoader
public java.lang.String getBaseThemePath()
public void setBaseThemePath(java.lang.String baseThemePath)
baseThemePath
- the baseThemePath to setpublic WebHelper getWebHelper()
public void setWebHelper(WebHelper webHelper)
webHelper
- the webHelper to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |