public interface Models extends Map<String,Object>, Iterable<String>
A map of name to model instances used by a ViewEngine
to process a view. Instances implementing this interface must be injectable using
Inject
and are RequestScoped
.
Note that certain view engines, such as engines for JSPs and Facelets, support
model binding via Named
in which case the use of Models is
optional.
Named
,
RequestScoped
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
forEach, iterator, spliterator
Copyright © 2015 Oracle Corporation. All rights reserved.