All Downloads are FREE. Search and download functionalities are using the official Maven repository.

javax.mvc.Models Maven / Gradle / Ivy

The newest version!
/*
 * Copyright © 2017 Ivar Grimstad ([email protected])
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package javax.mvc;

import java.util.Map;

/**
 * 

A map of name to model instances used by a {@link javax.mvc.engine.ViewEngine} * to process a view. Instances implementing this interface must be injectable using * {@link javax.inject.Inject} and are {@link javax.enterprise.context.RequestScoped}. * *

Note that certain view engines, such as engines for JSPs and Facelets, support * model binding via {@link javax.inject.Named} in which case the use of Models is * optional. * * @author Santiago Pericas-Geertsen * @see javax.inject.Named * @see javax.enterprise.context.RequestScoped * @since 1.0 */ public interface Models extends Map, Iterable { }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy