亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? logfactoryimpl.java

?? Jakarta小組開發的可集成在各種系統中的共用登入管理程序。
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
/* * Copyright 2001-2004 The Apache Software Foundation. *  * 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.apache.commons.logging.impl;import java.lang.reflect.Constructor;import java.lang.reflect.InvocationTargetException;import java.lang.reflect.Method;import java.security.AccessController;import java.security.PrivilegedAction;import java.util.Enumeration;import java.util.Hashtable;import java.util.Vector;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogConfigurationException;import org.apache.commons.logging.LogFactory;/** * <p>Concrete subclass of {@link LogFactory} that implements the * following algorithm to dynamically select a logging implementation * class to instantiate a wrapper for.</p> * <ul> * <li>Use a factory configuration attribute named *     <code>org.apache.commons.logging.Log</code> to identify the *     requested implementation class.</li> * <li>Use the <code>org.apache.commons.logging.Log</code> system property *     to identify the requested implementation class.</li> * <li>If <em>Log4J</em> is available, return an instance of *     <code>org.apache.commons.logging.impl.Log4JLogger</code>.</li> * <li>If <em>JDK 1.4 or later</em> is available, return an instance of *     <code>org.apache.commons.logging.impl.Jdk14Logger</code>.</li> * <li>Otherwise, return an instance of *     <code>org.apache.commons.logging.impl.SimpleLog</code>.</li> * </ul> * * <p>If the selected {@link Log} implementation class has a * <code>setLogFactory()</code> method that accepts a {@link LogFactory} * parameter, this method will be called on each newly created instance * to identify the associated factory.  This makes factory configuration * attributes available to the Log instance, if it so desires.</p> * * <p>This factory will remember previously created <code>Log</code> instances * for the same name, and will return them on repeated requests to the * <code>getInstance()</code> method.  This implementation ignores any * configured attributes.</p> * * @author Rod Waldhoff * @author Craig R. McClanahan * @author Richard A. Sitze * @version $Revision: 1.33 $ $Date: 2004/03/06 21:52:59 $ */public class LogFactoryImpl extends LogFactory {    // ----------------------------------------------------------- Constructors    /**     * Public no-arguments constructor required by the lookup mechanism.     */    public LogFactoryImpl() {        super();    }    // ----------------------------------------------------- Manifest Constants    /**     * The name of the system property identifying our {@link Log}     * implementation class.     */    public static final String LOG_PROPERTY =        "org.apache.commons.logging.Log";    /**     * The deprecated system property used for backwards compatibility with     * the old {@link org.apache.commons.logging.LogSource} class.     */    protected static final String LOG_PROPERTY_OLD =        "org.apache.commons.logging.log";    /**     * <p>The name of the {@link Log} interface class.</p>     */    private static final String LOG_INTERFACE =        "org.apache.commons.logging.Log";    // ----------------------------------------------------- Instance Variables    /**     * Configuration attributes.     */    protected Hashtable attributes = new Hashtable();    /**     * The {@link org.apache.commons.logging.Log} instances that have     * already been created, keyed by logger name.     */    protected Hashtable instances = new Hashtable();    /**     * Name of the class implementing the Log interface.     */    private String logClassName;    /**     * The one-argument constructor of the     * {@link org.apache.commons.logging.Log}     * implementation class that will be used to create new instances.     * This value is initialized by <code>getLogConstructor()</code>,     * and then returned repeatedly.     */    protected Constructor logConstructor = null;    /**     * The signature of the Constructor to be used.     */    protected Class logConstructorSignature[] =    { java.lang.String.class };    /**     * The one-argument <code>setLogFactory</code> method of the selected     * {@link org.apache.commons.logging.Log} method, if it exists.     */    protected Method logMethod = null;    /**     * The signature of the <code>setLogFactory</code> method to be used.     */    protected Class logMethodSignature[] =    { LogFactory.class };    // --------------------------------------------------------- Public Methods    /**     * Return the configuration attribute with the specified name (if any),     * or <code>null</code> if there is no such attribute.     *     * @param name Name of the attribute to return     */    public Object getAttribute(String name) {        return (attributes.get(name));    }    /**     * Return an array containing the names of all currently defined     * configuration attributes.  If there are no such attributes, a zero     * length array is returned.     */    public String[] getAttributeNames() {        Vector names = new Vector();        Enumeration keys = attributes.keys();        while (keys.hasMoreElements()) {            names.addElement((String) keys.nextElement());        }        String results[] = new String[names.size()];        for (int i = 0; i < results.length; i++) {            results[i] = (String) names.elementAt(i);        }        return (results);    }    /**     * Convenience method to derive a name from the specified class and     * call <code>getInstance(String)</code> with it.     *     * @param clazz Class for which a suitable Log name will be derived     *     * @exception LogConfigurationException if a suitable <code>Log</code>     *  instance cannot be returned     */    public Log getInstance(Class clazz) throws LogConfigurationException {        return (getInstance(clazz.getName()));    }    /**     * <p>Construct (if necessary) and return a <code>Log</code> instance,     * using the factory's current set of configuration attributes.</p>     *     * <p><strong>NOTE</strong> - Depending upon the implementation of     * the <code>LogFactory</code> you are using, the <code>Log</code>     * instance you are returned may or may not be local to the current     * application, and may or may not be returned again on a subsequent     * call with the same name argument.</p>     *     * @param name Logical name of the <code>Log</code> instance to be     *  returned (the meaning of this name is only known to the underlying     *  logging implementation that is being wrapped)     *     * @exception LogConfigurationException if a suitable <code>Log</code>     *  instance cannot be returned     */    public Log getInstance(String name) throws LogConfigurationException {        Log instance = (Log) instances.get(name);        if (instance == null) {            instance = newInstance(name);            instances.put(name, instance);        }        return (instance);    }    /**     * Release any internal references to previously created     * {@link org.apache.commons.logging.Log}     * instances returned by this factory.  This is useful in environments     * like servlet containers, which implement application reloading by     * throwing away a ClassLoader.  Dangling references to objects in that     * class loader would prevent garbage collection.     */    public void release() {        instances.clear();    }    /**     * Remove any configuration attribute associated with the specified name.     * If there is no such attribute, no action is taken.     *     * @param name Name of the attribute to remove     */    public void removeAttribute(String name) {        attributes.remove(name);    }    /**     * Set the configuration attribute with the specified name.  Calling     * this with a <code>null</code> value is equivalent to calling     * <code>removeAttribute(name)</code>.     *     * @param name Name of the attribute to set

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲永久精品大片| 日本不卡视频在线观看| 欧美一区二区三区在线看| 国产成人综合自拍| 亚洲午夜精品17c| 久久精品一二三| 欧美久久高跟鞋激| 成人激情黄色小说| 狠狠狠色丁香婷婷综合久久五月| 亚洲一区二区在线免费看| 久久奇米777| 欧美一区二区三区电影| 一本久久综合亚洲鲁鲁五月天| 国产原创一区二区| 日本不卡的三区四区五区| 亚洲人成人一区二区在线观看 | 国产精品卡一卡二| 欧美成人官网二区| 欧美视频日韩视频| 91社区在线播放| 国产凹凸在线观看一区二区| 免费的国产精品| 日日欢夜夜爽一区| 一区二区三区欧美日韩| 亚洲视频一二三区| 国产欧美日韩精品a在线观看| 欧美tickling挠脚心丨vk| 这里只有精品视频在线观看| 欧美午夜寂寞影院| 欧洲在线/亚洲| 色国产精品一区在线观看| 精品国产精品一区二区夜夜嗨| 在线看国产一区二区| 91麻豆国产在线观看| 99久久婷婷国产| 成人涩涩免费视频| 成人高清免费在线播放| 国产ts人妖一区二区| 国产精品一区二区三区乱码| 国产在线一区观看| 国产精品主播直播| 国产精品一区二区久久不卡| 麻豆精品视频在线观看视频| 欧美aaa在线| 久久成人羞羞网站| 国产精品亚洲一区二区三区在线| 国产麻豆9l精品三级站| 国产iv一区二区三区| 国产成人免费视频精品含羞草妖精 | 国产成人精品一区二区三区四区 | 亚洲一区二区三区美女| 亚洲影院在线观看| 日韩精品成人一区二区三区| 青青国产91久久久久久| 久久99精品国产91久久来源| 国产做a爰片久久毛片| 粉嫩欧美一区二区三区高清影视| 高清av一区二区| 91女人视频在线观看| 欧美日本一道本在线视频| 91精品国产91久久综合桃花| 久久久久久日产精品| 国产精品嫩草影院av蜜臀| 一区二区三区精品在线观看| 日日摸夜夜添夜夜添国产精品| 精品在线免费视频| 成人18精品视频| 欧美日韩一区二区三区高清| 日韩欧美www| 国产清纯白嫩初高生在线观看91| 亚洲国产精品高清| 亚洲一二三区不卡| 九九久久精品视频| 99久久婷婷国产| 91精品国产91综合久久蜜臀| 国产拍欧美日韩视频二区| 亚洲精品欧美二区三区中文字幕| 免费成人美女在线观看.| 国产91在线|亚洲| 欧美三级韩国三级日本三斤| 日韩高清国产一区在线| 国内精品不卡在线| 97国产一区二区| 欧美xingq一区二区| 日韩毛片视频在线看| 琪琪一区二区三区| 99久久精品国产一区二区三区| 欧美色男人天堂| 欧美激情一区三区| 婷婷成人综合网| 成人av网站大全| 日韩欧美精品在线视频| 亚洲同性同志一二三专区| 美女脱光内衣内裤视频久久网站 | 欧美一区二区三区在线观看| 中文字幕在线一区| 麻豆精品一区二区av白丝在线| 色综合久久久久久久久久久| 久久久噜噜噜久久中文字幕色伊伊 | 香蕉影视欧美成人| 成人久久视频在线观看| 日韩欧美在线网站| 一区二区欧美国产| 成人毛片在线观看| 日韩一级欧美一级| 亚洲成人一区在线| 色综合久久综合网| 国产精品美女久久久久aⅴ国产馆 国产精品美女久久久久av爽李琼 国产精品美女久久久久高潮 | 色婷婷综合久色| 国产欧美一区二区三区在线看蜜臀 | 亚洲乱码国产乱码精品精98午夜 | 欧美一区二区精品久久911| 樱桃视频在线观看一区| 成人免费视频免费观看| 欧美精品一区二区三| 日韩av成人高清| 欧美三级一区二区| 亚洲精品日韩一| 99久久99久久精品免费观看| 久久精品无码一区二区三区| 久久精品久久综合| 91精品国产综合久久久久久| 亚洲一区二区三区四区不卡| 日本高清不卡在线观看| 国产精品国产三级国产aⅴ入口| 国产在线精品一区二区不卡了 | 欧美一区二区精美| 亚洲成人激情社区| 欧美日韩一区成人| 午夜私人影院久久久久| 欧美巨大另类极品videosbest| 亚洲午夜久久久| 欧美日韩精品一区二区三区 | 欧美日韩电影在线播放| 有码一区二区三区| 91精品福利视频| 亚洲一区二区高清| 精品视频免费看| 日韩中文字幕1| 欧美久久久久久久久久| 日韩成人免费看| 日韩美女视频一区二区在线观看| 美国十次综合导航| 久久久噜噜噜久噜久久综合| 国产精品自拍三区| 国产精品每日更新| 色综合视频一区二区三区高清| 一区二区欧美国产| 在线播放视频一区| 国产综合久久久久影院| 国产女同互慰高潮91漫画| aaa国产一区| 亚洲一二三四在线| 日韩一本二本av| 韩国v欧美v日本v亚洲v| 国产精品伦理在线| 欧美自拍偷拍午夜视频| 蜜臀91精品一区二区三区| 久久久久综合网| 色悠久久久久综合欧美99| 亚洲成人精品一区| 久久久午夜精品| 97精品国产露脸对白| 亚洲成精国产精品女| 精品福利av导航| 97久久超碰国产精品| 丝袜亚洲另类欧美综合| 久久久美女毛片| 91国产精品成人| 久久精品国产99久久6| 中文字幕在线不卡| 91精品国产一区二区三区香蕉 | 欧美乱熟臀69xxxxxx| 激情久久五月天| 亚洲三级视频在线观看| 欧美年轻男男videosbes| 国产伦精品一区二区三区在线观看| 国产精品视频免费| 欧美久久免费观看| 成人黄色a**站在线观看| 婷婷激情综合网| 国产精品麻豆欧美日韩ww| 91 com成人网| 成人国产免费视频| 美女www一区二区| 亚洲免费在线看| 久久精品网站免费观看| 欧美日韩成人高清| 99久久夜色精品国产网站| 免费在线观看一区二区三区| 日韩理论电影院| 久久精品日韩一区二区三区| 欧美日韩国产一级二级| 99久久综合精品| 精品一区二区在线看| 亚洲第一av色| 国产精品美女久久久久av爽李琼| 日韩免费观看高清完整版| 欧美影视一区二区三区| www.日韩精品|