<commit_before>/*
 * 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.web.flow.portlet;

import javax.portlet.*;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.util.Assert;
import org.springframework.web.flow.ViewDescriptor;
import org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager;
import org.springframework.web.portlet.support.AbstractController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Portlet controller for the Spring Portlet MVC framework that handles requests
 * using a web flow. Requests are managed using an
 * {@link PortletFlowExecutionManager}. Consult the JavaDoc of that class for
 * more information on how requests are processed.
 * <p>
 * Configuration note: you can configure the flow controller by passing in a
 * properly configured flow execution manager. To avoid unnecessary top-level
 * bean definitions in the application context, you can use the Spring nested
 * bean definition syntax.
 * <p>
 * <b>Exposed configuration properties:</b><br>
 * <table border="1">
 * <tr>
 * <td><b>name</b></td>
 * <td><b>default</b><td>
 * <td><b>description</b></td>
 * </tr>
 * <tr>
 * <td>flowExecutionManager</td>
 * <td>{@link org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager default}</td>
 * <td>Configures the portlet flow execution manager implementation to use.</td>
 * </tr>
 * </table>
 * 
 * @see org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager
 * 
 * @author <NAME>
 * @author <NAME>
 */
public class PortletFlowController extends AbstractController implements InitializingBean {

	/**
	 * Name of the attribute used to pass the view descriptor from the
	 * action request to the render request.
	 */<commit_msg>JavaDoc fix.<commit_after>/*
 * 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.web.flow.portlet;

import javax.portlet.*;

import org.springframework.beans.factory.InitializingBean;
import org.springframework.util.Assert;
import org.springframework.web.flow.ViewDescriptor;
import org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager;
import org.springframework.web.portlet.support.AbstractController;
import org.springframework.web.servlet.ModelAndView;

/**
 * Portlet controller for the Spring Portlet MVC framework that handles requests
 * using a web flow. Requests are managed using an
 * {@link PortletFlowExecutionManager}. Consult the JavaDoc of that class for
 * more information on how requests are processed.
 * <p>
 * Configuration note: you can configure the flow controller by passing in a
 * properly configured flow execution manager. To avoid unnecessary top-level
 * bean definitions in the application context, you can use the Spring nested
 * bean definition syntax.
 * <p>
 * <b>Exposed configuration properties:</b><br>
 * <table border="1">
 * <tr>
 * <td><b>name</b></td>
 * <td><b>default</b></td>
 * <td><b>description</b></td>
 * </tr>
 * <tr>
 * <td>flowExecutionManager</td>
 * <td>{@link org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager default}</td>
 * <td>Configures the portlet flow execution manager implementation to use.</td>
 * </tr>
 * </table>
 * 
 * @see org.springframework.web.flow.execution.portlet.PortletFlowExecutionManager
 * 
 * @author <NAME>
 * @author <NAME>
 */
public class PortletFlowController extends AbstractController implements InitializingBean {

	/**
	 * Name of the attribute used to pass the view descriptor from the
	 * action request to the render request.
	 */
{'fraction_non_alphanumeric': 0.10037958667229017, 'fraction_numerical': 0.005482918599746942, 'mean_word_length': 4.54088785046729, 'pattern_counts': {'":': 0, '<': 65, '<?xml version=': 0, '>': 65, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '141756', 'n_tokens_mistral': 1263, 'n_tokens_neox': 1228, 'n_words': 467}