kieker.webgui.web.beans.application
Class ThemeSwitcherBean
java.lang.Object
kieker.webgui.web.beans.application.ThemeSwitcherBean
@Component
@Scope(value="singleton")
public final class ThemeSwitcherBean
- extends Object
This is a Spring managed bean responsible for holding a map with all available themes (look and feels). The content is static, which means that it is not possible
(or at least not intended) to add further themes during runtime. If you want to change the themes (or add new ones) take a look into the configuration file
spring-bean-config.xml
.
This class is a singleton scoped bean, as the list with the available themes is a static list. As this bean is Spring managed, it is not recommended to use
the constructor or the setter methods.
- Author:
- Nils Christian Ehmke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThemeSwitcherBean
public ThemeSwitcherBean()
- Default constructor. Do not use this constructor. This bean is Spring managed.
getThemes
public Map<String,String> getThemes()
setThemes
public void setThemes(Map<String,String> themes)
Copyright © 2015. All rights reserved.