X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=rubbos%2Frubbos_scripts%2F1-1-1%2Frubbos_conf%2FConfig.java;fp=rubbos%2Frubbos_scripts%2F1-1-1%2Frubbos_conf%2FConfig.java;h=8956b506252b4a938e42e71bb6cc941211303caa;hb=b6d3d6e668b793220f2d3af1bc3e828553dc3fe6;hp=0000000000000000000000000000000000000000;hpb=9401f816dd0d9d550fe98a8507224bde51c4b847;p=bottlenecks.git diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java new file mode 100644 index 00000000..8956b506 --- /dev/null +++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java @@ -0,0 +1,68 @@ + +/** + * RUBBoS: Rice University Bulletin Board System. + * Copyright (C) 2001-2004 Rice University and French National Institute For + * Research In Computer Science And Control (INRIA). + * Contact: jmob@objectweb.org + * + * 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 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. + * + * 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. + * + * Initial developer(s): Emmanuel Cecchet. + * Contributor(s): ______________________. + */ + +package edu.rice.rubbos.servlets; + +/** + * This class contains the configuration for the servlets like the path of HTML + * files, etc ... + * + * @author Emmanuel Cecchet and Julie Marguerite + * @version 1.0 + */ + +public class Config +{ + + /** + * Creates a new Config instance. + */ + Config() + { + } + + + public static final String HTMLFilesPath = "/bottlenecks/rubbos/app/RUBBoS/Servlet_HTML"; + public static final String[] DatabaseProperties = {"/bottlenecks/rubbos/app/RUBBoS/Servlets/mysql.properties"}; + public static final int DatabasePropertiesSize = 1; + + public static final int AboutMePoolSize = 10; + public static final int BrowseCategoriesPoolSize = 6; + public static final int BrowseRegionsPoolSize = 6; + public static final int BuyNowPoolSize = 4; + public static final int PutBidPoolSize = 8; + public static final int PutCommentPoolSize = 2; + public static final int RegisterItemPoolSize = 2; + public static final int RegisterUserPoolSize = 2; + public static final int SearchItemsByCategoryPoolSize = 15; + public static final int SearchItemsByRegionPoolSize = 20; + public static final int StoreBidPoolSize = 8; + public static final int StoreBuyNowPoolSize = 4; + public static final int StoreCommentPoolSize = 2; + public static final int ViewBidHistoryPoolSize = 4; + public static final int ViewItemPoolSize = 20; + public static final int ViewUserInfoPoolSize = 4; +}