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

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

?? opencms.java

?? java 編寫的程序
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
/*
* File   : $Source: /usr/local/cvs/opencms/src/com/opencms/core/OpenCms.java,v $
* Date   : $Date: 2002/05/10 20:21:19 $
* Version: $Revision: 1.84.2.1 $
*
* This library is part of OpenCms -
* the Open Source Content Mananagement System
*
* Copyright (C) 2001  The OpenCms Group
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
* Lesser General Public License for more details.
*
* For further information about OpenCms, please see the
* OpenCms Website: http://www.opencms.org
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
*/

package com.opencms.core;

import java.io.*;
import java.util.*;
import source.org.apache.java.io.*;
import source.org.apache.java.util.*;
import com.opencms.file.*;
import com.opencms.boot.*;
import com.opencms.util.*;
import com.opencms.launcher.*;
import com.opencms.template.cache.*;

// if you need one of these test if the OpenCms Shell still runs!
//import javax.servlet.*;
//import javax.servlet.http.*;


/**
 * This class is the main class of the OpenCms system.
 * <p>
 * It is used to read a requested resource from the OpenCms System and forward it to
 * a launcher, which is performs the output of the requested resource. <br>
 *
 * The OpenCms class is independent of access module to the OpenCms (e.g. Servlet,
 * Command Shell), therefore this class is <b>not</b> responsible for user authentification.
 * This is done by the access module to the OpenCms.
 *
 * @author Michael Emmerich
 * @author Alexander Lucas
 * @version $Revision: 1.84.2.1 $ $Date: 2002/05/10 20:21:19 $
 *
 * */
public class OpenCms extends A_OpenCms implements I_CmsConstants,I_CmsLogChannels {

    /**
     * Define the default file.encoding that should be used by OpenCms
     */
    private static String C_PREFERED_FILE_ENCODING = "ISO8859_1";

    /**
     * Definition of the index page
     */
    private static String C_INDEX = "index.html";

    /**
     * The default mimetype
     */
    private static String C_DEFAULT_MIMETYPE = "text/html";

    /**
     * The resource-broker to access the database.
     */
    private static I_CmsResourceBroker c_rb;

    /**
     * The cron scheduler to schedule the cronjobs
     */
    private CmsCronScheduler m_scheduler;

    /**
     * The cron table to use with the scheduler
     */
    private CmsCronTable m_table;

    /**
     * Reference to the OpenCms launcer manager
     */
    private CmsLauncherManager m_launcherManager;

    /**
     * Hashtable with all available Mimetypes.
     */
    private Hashtable m_mt = new Hashtable();

    /**
     * Indicates, if the session-failover should be enabled or not.
     */
    private boolean m_sessionFailover = false;

    /**
     * Indicates, if the streaming should be enabled by the configurations
     */
    private boolean m_streaming = true;

    /**
     * Indicates, if the element cache should be enabled by the configurations
     */
    private boolean m_enableElementCache = true;

    /**
     * Reference to the CmsElementCache object containing locators for all
     * URIs and elements in cache.
     */
    private static CmsElementCache c_elementCache = null;

    /**
     * The object to store the  properties from the opencms.property file for the
     * static export.
     */
    private static CmsStaticExportProperties c_exportProperties = new CmsStaticExportProperties();

    /**
     * In this hashtable the dependencies for all variants in the elementcache
     * are stored. The keys are Strings with resourceNames like "/siteX/cos/ContentClass/news4"
     * and the value is a Vector with strings (The elementvariants that depend on the keys)
     * like "ElementClass|ElementTemplate|VariantCacheKey"
     */
    private static Hashtable c_variantDeps = null;

    /**
     * Constructor, creates a new OpenCms object.
     *
     * It gets the configurations and inits a rb via the CmsRbManager.
     *
     * @param conf The configurations from the property-file.
     */
    // OpenCms(Configurations conf) throws Exception {
    public OpenCms(Configurations conf) throws Exception {
        CmsObject cms = null;
        // Save the configuration
        setConfiguration(conf);
        
        // invoke the ResourceBroker via the initalizer
        try {
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] logging started");
                String jdkinfo = System.getProperty("java.vm.name") + " ";
                jdkinfo += System.getProperty("java.vm.version") + " ";
                jdkinfo += System.getProperty("java.vm.info") + " ";
                jdkinfo += System.getProperty("java.vm.vendor") + " ";
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] JDK Info: " + jdkinfo);

                String osinfo = System.getProperty("os.name") + " ";
                osinfo += System.getProperty("os.version") + " ";
                osinfo += System.getProperty("os.arch") + " ";
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] OS Info: " + osinfo);

                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] file.encoding: " + System.getProperty("file.encoding"));
            }
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] creating first cms-object");
            }
            cms = new CmsObject();
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] initializing the main resource-broker");
            }
            m_sessionFailover = conf.getBoolean("sessionfailover.enabled", false);

            // init the rb via the manager with the configuration
            // and init the cms-object with the rb.
            c_rb = CmsRbManager.init(conf);
            printCopyrightInformation(cms);
            
            // initalize the Hashtable with all available mimetypes
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] read mime types");
            }
            m_mt = c_rb.readMimeTypes(null, null);
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] found "
                        + m_mt.size() + " mime-type entrys");
            }

            // Check, if the HTTP streaming should be enabled
            m_streaming = conf.getBoolean("httpstreaming.enabled", true);
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] HTTP streaming " + (m_streaming?"en":"dis") + "abled. ");
            }

            // if the System property opencms.disableScheduler is set to true, don't start scheduling
            if(!new Boolean(System.getProperty("opencms.disableScheduler")).booleanValue()) {
                // now initialise the OpenCms scheduler to launch cronjobs
                m_table = new CmsCronTable(c_rb.readCronTable(null, null));
                m_scheduler = new CmsCronScheduler(this, m_table);
                if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                    A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] initializing CmsCronScheduler... DONE");
                }
            } else {
                if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                    A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCmsServlet] CmsCronScheduler is disabled!");
                }
            }
        }
        catch(Exception e) {
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] " + e.getMessage());
            }
            throw e;
        }

        // try to initialize the launchers.
        try {
            if(I_CmsLogChannels.C_PREPROCESSOR_IS_LOGGING && A_OpenCms.isLogging()) {
                A_OpenCms.log(I_CmsLogChannels.C_OPENCMS_INIT, "[OpenCms] initialize launchers...");
            }
            m_launcherManager = new CmsLauncherManager(this);
        }
        catch(Exception e) {

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美经典三级视频一区二区三区| 精品国产百合女同互慰| 男人的天堂亚洲一区| 国产精品你懂的在线欣赏| 69堂亚洲精品首页| 99re热这里只有精品免费视频| 日韩精品欧美精品| 亚洲三级在线观看| 精品成人a区在线观看| 欧美在线免费观看亚洲| 国产成人精品综合在线观看| 日韩av一级电影| 一区二区久久久久久| 国产欧美一区二区精品性| 欧美一级一级性生活免费录像| 色伊人久久综合中文字幕| 国产成人精品亚洲午夜麻豆| 久久精品国产第一区二区三区| 亚洲一区二区av电影| 中文字幕一区二区三区不卡在线| 精品毛片乱码1区2区3区 | 国产成人亚洲综合a∨婷婷| 首页国产欧美久久| 亚洲一区在线视频观看| 综合久久久久久| 国产精品私人影院| 国产欧美日本一区二区三区| 欧美成va人片在线观看| 日韩一区二区不卡| 91麻豆精品91久久久久同性| 欧美三级电影一区| 欧美无砖专区一中文字| 在线观看av不卡| 日本韩国精品一区二区在线观看| 99热国产精品| caoporen国产精品视频| 成人免费高清在线| 成a人片国产精品| 成人久久18免费网站麻豆 | 久久久www免费人成精品| 精品国产凹凸成av人网站| 久久先锋资源网| 国产人成一区二区三区影院| 久久精品亚洲乱码伦伦中文 | 91一区在线观看| 成人av网址在线观看| 成人国产精品免费| 99视频一区二区| 欧美亚一区二区| 欧美日韩一区高清| 日韩一区二区三区电影在线观看 | 99久久免费视频.com| 97久久久精品综合88久久| 91久久精品一区二区三| 欧美无砖专区一中文字| 日韩一区二区三区在线视频| 精品噜噜噜噜久久久久久久久试看| 精品伦理精品一区| 国产精品热久久久久夜色精品三区| 中文字幕制服丝袜成人av| 亚洲激情自拍偷拍| 免费久久99精品国产| 国产高清不卡一区二区| 91在线你懂得| 在线播放/欧美激情| 2023国产精品| 日韩美女视频一区| 91影视在线播放| 欧美高清一级片在线| 日韩精品专区在线影院观看| 中文字幕av在线一区二区三区| 综合av第一页| 蜜臀va亚洲va欧美va天堂| 国产成人夜色高潮福利影视| 一本到三区不卡视频| 日韩一级黄色大片| 国产精品国产三级国产三级人妇 | 欧美三区在线观看| 精品国产一区a| 亚洲精品视频自拍| 老司机一区二区| 色综合久久天天| 欧美变态tickling挠脚心| 国产精品视频你懂的| 亚洲大片精品永久免费| 国产成人在线色| 欧美疯狂做受xxxx富婆| 国产欧美精品一区aⅴ影院 | 一个色妞综合视频在线观看| 久久99精品久久久久婷婷| 91丨porny丨蝌蚪视频| 日韩美女天天操| 亚洲精品乱码久久久久久久久| 久久99九九99精品| 在线一区二区观看| 国产欧美精品在线观看| 日韩高清不卡一区| 色综合久久综合中文综合网| 久久婷婷一区二区三区| 日日夜夜一区二区| 一本到一区二区三区| 久久久久国产一区二区三区四区| 亚洲777理论| 91美女在线视频| 中文字幕欧美激情一区| 精一区二区三区| 在线成人午夜影院| 一区二区激情视频| 99国产一区二区三精品乱码| 久久久久亚洲蜜桃| 久久国产三级精品| 6080亚洲精品一区二区| 一区二区三国产精华液| 91在线精品一区二区三区| 久久影院午夜片一区| 美腿丝袜一区二区三区| 欧美精品一级二级| 亚洲香肠在线观看| 色琪琪一区二区三区亚洲区| 欧美国产欧美亚州国产日韩mv天天看完整 | 极品少妇一区二区| 欧美一级黄色大片| 日韩av午夜在线观看| 欧美日韩精品一区二区| 亚洲一区二区三区影院| 色婷婷综合五月| 亚洲欧美精品午睡沙发| 99精品1区2区| 亚洲黄色在线视频| 色香色香欲天天天影视综合网| 中文字幕亚洲一区二区av在线| 成人久久视频在线观看| 91精品国产入口在线| 日韩高清一级片| 欧美片网站yy| 日韩电影在线免费| 91精品在线免费观看| 日韩av中文字幕一区二区三区| 制服丝袜中文字幕亚洲| 免费成人你懂的| 精品久久五月天| 国产一区二区三区精品视频| 精品成人佐山爱一区二区| 国产乱码字幕精品高清av| 久久精品视频一区二区三区| 国产sm精品调教视频网站| 日本一区二区三区国色天香| a在线欧美一区| 一区二区三区自拍| 精品污污网站免费看| 日本不卡一区二区三区高清视频| 日韩精品一区二区在线| 国产精品影视在线观看| 国产精品的网站| 欧美私模裸体表演在线观看| 秋霞午夜av一区二区三区| 久久午夜色播影院免费高清| 成人av免费在线观看| 一区二区三区在线视频播放| 欧美精品aⅴ在线视频| 美腿丝袜亚洲一区| 中文一区一区三区高中清不卡| 成人av在线观| 日韩综合小视频| 国产亚洲一区字幕| 色8久久精品久久久久久蜜| 天天做天天摸天天爽国产一区 | 国产精品三级在线观看| 91国内精品野花午夜精品 | 亚洲国产欧美在线| 欧美大片在线观看一区| 粉嫩aⅴ一区二区三区四区五区| 亚洲精品五月天| 欧美大片在线观看一区| av福利精品导航| 日日噜噜夜夜狠狠视频欧美人 | 日韩理论电影院| 欧美一级片在线观看| 成人激情av网| 日韩高清不卡一区二区| 中文一区一区三区高中清不卡| 欧美日韩一区高清| 高清久久久久久| 日韩经典中文字幕一区| 国产精品人妖ts系列视频| 7777精品久久久大香线蕉| 白白色 亚洲乱淫| 免费在线视频一区| 亚洲免费观看在线观看| 精品成人佐山爱一区二区| 欧洲另类一二三四区| 国产毛片精品一区| 性久久久久久久久| 国产精品成人网| www激情久久| 91精品欧美福利在线观看| 91网上在线视频| 国产在线精品一区二区三区不卡| 亚洲成人三级小说| 亚洲欧美一区二区三区孕妇|