亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
97se狠狠狠综合亚洲狠狠| 狠狠狠色丁香婷婷综合激情| 久久亚区不卡日本| 欧美一级二级三级蜜桃| 欧美日韩在线综合| 欧美最猛黑人xxxxx猛交| 91国在线观看| 精品污污网站免费看| 欧美专区在线观看一区| 欧美视频第二页| 欧美日韩亚洲丝袜制服| 欧美精品v日韩精品v韩国精品v| 在线免费观看一区| 欧美性色aⅴ视频一区日韩精品| 在线观看欧美黄色| 91精品国产免费久久综合| 91精品国产免费久久综合| 欧美成人官网二区| 中文字幕高清不卡| 亚洲另类春色校园小说| 亚洲国产精品影院| 青青草成人在线观看| 狠狠色丁香婷婷综合| 成人在线一区二区三区| 91视频免费观看| 欧美日韩欧美一区二区| 精品99一区二区| 国产精品电影一区二区三区| 亚洲国产一区二区在线播放| 天堂蜜桃91精品| 国产精品 日产精品 欧美精品| www.性欧美| 欧美一区二区女人| 国产情人综合久久777777| 亚洲欧美经典视频| 日产国产高清一区二区三区 | www.亚洲精品| 制服丝袜一区二区三区| 国产午夜久久久久| 午夜精品国产更新| 成人午夜av电影| 欧美一区永久视频免费观看| 国产亚洲精品超碰| 婷婷综合另类小说色区| 成人午夜电影久久影院| 日韩一区和二区| 亚洲欧洲成人精品av97| 久久福利资源站| 在线精品视频免费观看| 国产三级欧美三级| 日韩精品电影在线观看| 色综合中文综合网| 精品国产髙清在线看国产毛片| 欧美激情资源网| 免费观看在线色综合| 97久久人人超碰| 久久免费的精品国产v∧| 亚洲最色的网站| 成人小视频免费在线观看| 欧美成人vps| 日韩精品1区2区3区| 一本大道久久a久久综合婷婷| 久久久.com| 久久国产日韩欧美精品| 91麻豆精品国产91久久久久| 亚洲狠狠丁香婷婷综合久久久| 国产成人在线视频网址| 精品欧美乱码久久久久久1区2区 | 久久精品国产精品亚洲综合| 色婷婷综合五月| 国产精品久久久久久久岛一牛影视 | 成人丝袜18视频在线观看| 精品国产免费视频| 蜜乳av一区二区| 欧美一级黄色片| 免费在线观看日韩欧美| 欧美揉bbbbb揉bbbbb| 亚洲国产精品一区二区www| 色婷婷av一区二区| 亚洲女子a中天字幕| 99re在线视频这里只有精品| 国产精品女同一区二区三区| 波多野洁衣一区| 国产精品初高中害羞小美女文| 国产 欧美在线| 中文字幕久久午夜不卡| 99国产精品久久久久| 一区二区三区在线观看视频| 欧美日精品一区视频| 全部av―极品视觉盛宴亚洲| 日韩你懂的在线播放| 国产精品一区二区x88av| 国产精品久久久一本精品| 国产999精品久久久久久| 精品国产乱码久久久久久1区2区 | 亚洲成人av电影在线| 欧美视频在线一区二区三区 | 国产精品456| 国产精品久久久久久久久搜平片| 91丨国产丨九色丨pron| 亚洲成a天堂v人片| 日韩精品一区二区三区swag| 国产一区二区三区香蕉| 中文字幕一区在线观看视频| 欧美色网一区二区| 久久 天天综合| 国产精品久久久久一区二区三区 | 久久久国产综合精品女国产盗摄| 成人免费视频一区| 一区二区三区欧美| 日韩一级大片在线| 成人免费毛片片v| 午夜不卡在线视频| 国产片一区二区| 欧美二区三区91| 懂色一区二区三区免费观看| 一区二区三区日韩在线观看| 欧美成人伊人久久综合网| 99久久精品免费| 免费成人小视频| 亚洲欧美一区二区三区极速播放 | 亚洲免费观看高清在线观看| 在线不卡的av| 99热国产精品| 国产一区二区三区久久悠悠色av| 一区二区三区欧美视频| 国产午夜一区二区三区| 4438x成人网最大色成网站| 成人av电影在线播放| 青草国产精品久久久久久| 亚洲美女精品一区| 国产日产精品一区| 欧美成人一区二区三区片免费| 欧美亚洲综合久久| 99r国产精品| 成年人国产精品| 国产不卡在线播放| 精品一区二区影视| 三级成人在线视频| 亚洲人一二三区| 国产精品久久久久久久浪潮网站| 日韩精品一区二区三区在线| 欧美色图天堂网| 色香色香欲天天天影视综合网| 成人午夜在线播放| 国产精品亚洲视频| 国产自产高清不卡| 激情欧美一区二区| 久久成人精品无人区| 秋霞午夜av一区二区三区| 日韩国产欧美三级| 日韩电影在线观看电影| 午夜视频在线观看一区二区三区 | 欧美大片一区二区| 欧美人与性动xxxx| 欧美高清hd18日本| 欧美一区二区在线观看| 欧美乱熟臀69xxxxxx| 欧美女孩性生活视频| 欧美精三区欧美精三区| 精品视频一区三区九区| 欧美日韩成人综合| 欧美一区二区在线视频| 日韩视频免费观看高清完整版在线观看| 欧美日韩高清一区| 日韩欧美国产不卡| 国产日韩欧美精品综合| 国产精品美女久久久久久久久久久| 国产精品久久久久久久久图文区| 中文字幕一区三区| 亚洲综合免费观看高清完整版 | 一区二区三区免费| 亚洲美女免费视频| 亚洲一区二区三区爽爽爽爽爽| 亚洲成人黄色小说| 91精品国产综合久久久蜜臀粉嫩 | 欧美激情一区二区三区蜜桃视频 | 亚洲三级在线免费观看| 亚洲欧美偷拍另类a∨色屁股| 亚洲精品老司机| 日韩中文字幕麻豆| 黄页网站大全一区二区| 成人av电影在线观看| 欧美巨大另类极品videosbest| 欧美不卡视频一区| 国产精品国产三级国产普通话蜜臀 | 中文字幕日韩一区二区| 亚洲综合一二三区| 蜜桃视频在线观看一区| 国产成人精品亚洲777人妖| 99久久久精品免费观看国产蜜| 欧美人狂配大交3d怪物一区| 久久久精品人体av艺术| 亚洲精品乱码久久久久久日本蜜臀| 丝袜美腿亚洲综合| 丁香啪啪综合成人亚洲小说 | 欧美伊人久久大香线蕉综合69| 欧美大片在线观看| 亚洲乱码国产乱码精品精的特点 | 成人午夜电影小说|