public interface Priorities
Defines priority classes that can used together with the
annotation to decorate
ViewEngine implementations. When
multiple view engines are available to process a view, the one with the highest
priority is chosen. If two or more view engines can process the same view and they
all have the same priority, one is chosen in an implementation-defined manner.
Applications can define observers for the event
to get additional information about the outcome of the selection mechanism.
|Modifier and Type||Field and Description|
Recommended priority for all application-provided view engines.
Default priority for all built-in view engines.
Recommended priority for all view engines provided by frameworks built on top of MVC implementations.
static final int DEFAULT
static final int FRAMEWORK
static final int APPLICATION
Copyright © 2015 Oracle Corporation. All rights reserved.