⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 viewdescriptorcreator.java

📁 spring的WEB开发插件,支持多状态WEB开发
💻 JAVA
字号:
/*
 * Copyright 2002-2005 the original author or authors.
 * 
 * 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 org.springframework.webflow;

/**
 * Factory that produces a new, configured <code>ViewDescriptor</code> on each invocation,
 * taking into account the information in the provided flow execution request context.
 * Note that this is a runtime factory! It is used at flow execution time by objects like the
 * <code>ViewState</code> to produce new <code>ViewDescriptor</code>s.
 * <p>
 * This allows easy insertion of dynamic view descriptor configuration logic.  This alows you to
 * determine the view to render or the available model data for rendering based on contextual 
 * information.
 * 
 * @see org.springframework.webflow.ViewDescriptor
 * @see org.springframework.webflow.ViewState
 * @see org.springframework.webflow.EndState
 * 
 * @author Keith Donald
 * @author Erwin Vervaet
 */
public interface ViewDescriptorCreator {
	
	/**
	 * Create a new view descriptor for given request context.
	 * @param context the current request context of the executing flow
	 * @return the view descriptor
	 */
	public ViewDescriptor createViewDescriptor(RequestContext context);
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -