org.thymeleaf.spring4.context
Class Beans
Object
org.thymeleaf.spring4.context.Beans
- All Implemented Interfaces:
- Map<String,Object>
public class Beans
- extends Object
- implements Map<String,Object>
Special object made available by SpringWebContext
to templates
in Spring MVC applications in order to access beans in the Application Context.
- Since:
- 1.0
- Author:
- Daniel Fernández
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Constructor Summary |
Beans(org.springframework.context.ApplicationContext ctx)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Beans
public Beans(org.springframework.context.ApplicationContext ctx)
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKey
in interface Map<String,Object>
get
public Object get(Object key)
- Specified by:
get
in interface Map<String,Object>
keySet
public Set<String> keySet()
- Specified by:
keySet
in interface Map<String,Object>
size
public int size()
- Specified by:
size
in interface Map<String,Object>
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interface Map<String,Object>
containsValue
public boolean containsValue(Object value)
- Specified by:
containsValue
in interface Map<String,Object>
put
public Object put(String key,
Object value)
- Specified by:
put
in interface Map<String,Object>
putAll
public void putAll(Map<? extends String,? extends Object> m)
- Specified by:
putAll
in interface Map<String,Object>
remove
public Object remove(Object key)
- Specified by:
remove
in interface Map<String,Object>
clear
public void clear()
- Specified by:
clear
in interface Map<String,Object>
values
public Collection<Object> values()
- Specified by:
values
in interface Map<String,Object>
entrySet
public Set<Map.Entry<String,Object>> entrySet()
- Specified by:
entrySet
in interface Map<String,Object>
Copyright © 2013 The THYMELEAF team. All Rights Reserved.