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

📄 orderedrootbeandefinition.java

📁 Please read your package and describe it at least 40 bytes in English. System will automatically de
💻 JAVA
字号:
/* * Copyright 2002-2004 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 de.mindmatters.faces.spring.factory;import org.springframework.beans.factory.support.RootBeanDefinition;import org.springframework.core.Ordered;/** * A <strong>{@link RootBeanDefinition}</strong> which could be ordered. *  * <p> * Can be useful if post processors need to gain and <em>order</em> bean * definitions from a given BeanFactory (e.g. to create beans in a dedicated * order). * </p> *  * @author Andreas Kuhrwahl *  */public final class OrderedRootBeanDefinition extends RootBeanDefinition        implements Ordered {    /** */    private static final long serialVersionUID = 60479677042165820L;    /** The order of this defintion. */    private final int order;    /**     * Creates an instance based upon the given {@link RootBeanDefinition}     * <code>original</code>.     *      * @param original     *            The {@link RootBeanDefinition}     * @param order     *            The order of this defintion     */    public OrderedRootBeanDefinition(final RootBeanDefinition original,            final int order) {        super(original);        this.order = order;    }    /**     * {@inheritDoc}     */    public int getOrder() {        return order;    }}

⌨️ 快捷键说明

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