Removed some debug logging.
git-svn-id: https://samskivert.googlecode.com/svn/trunk@435 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: Application.java,v 1.6 2001/11/06 20:16:47 mdb Exp $
|
// $Id: Application.java,v 1.7 2001/11/06 20:55:51 mdb Exp $
|
||||||
//
|
//
|
||||||
// samskivert library - useful routines for java programs
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -80,18 +80,12 @@ public class Application
|
|||||||
// site-specific jar file path
|
// site-specific jar file path
|
||||||
String siteJarPath = config.getInitParameter(SITE_JAR_PATH_KEY);
|
String siteJarPath = config.getInitParameter(SITE_JAR_PATH_KEY);
|
||||||
if (!StringUtil.blank(siteJarPath)) {
|
if (!StringUtil.blank(siteJarPath)) {
|
||||||
Log.info("Creating site resource loader " +
|
|
||||||
"[siteJarPath=" + siteJarPath + "].");
|
|
||||||
_siteLoader = new SiteResourceLoader(_siteIdent, siteJarPath);
|
_siteLoader = new SiteResourceLoader(_siteIdent, siteJarPath);
|
||||||
} else {
|
|
||||||
Log.info("No site resource loader");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// instantiate our message manager if the application wants one
|
// instantiate our message manager if the application wants one
|
||||||
String bundlePath = config.getInitParameter(MESSAGE_BUNDLE_PATH_KEY);
|
String bundlePath = config.getInitParameter(MESSAGE_BUNDLE_PATH_KEY);
|
||||||
if (!StringUtil.blank(bundlePath)) {
|
if (!StringUtil.blank(bundlePath)) {
|
||||||
Log.info("Creating message manager " +
|
|
||||||
"[bundlePath=" + bundlePath + "].");
|
|
||||||
_msgmgr = new MessageManager(bundlePath);
|
_msgmgr = new MessageManager(bundlePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
//
|
//
|
||||||
// $Id: DispatcherServlet.java,v 1.10 2001/11/06 20:16:47 mdb Exp $
|
// $Id: DispatcherServlet.java,v 1.11 2001/11/06 20:55:51 mdb Exp $
|
||||||
//
|
//
|
||||||
// samskivert library - useful routines for java programs
|
// samskivert library - useful routines for java programs
|
||||||
// Copyright (C) 2001 Michael Bayne
|
// Copyright (C) 2001 Michael Bayne
|
||||||
@@ -163,7 +163,6 @@ public class DispatcherServlet extends VelocityServlet
|
|||||||
// load up our application configuration
|
// load up our application configuration
|
||||||
try {
|
try {
|
||||||
String appcl = config.getInitParameter(APP_CLASS_KEY);
|
String appcl = config.getInitParameter(APP_CLASS_KEY);
|
||||||
Log.info("Creating application [class=" + appcl + "].");
|
|
||||||
if (StringUtil.blank(appcl)) {
|
if (StringUtil.blank(appcl)) {
|
||||||
_app = new Application();
|
_app = new Application();
|
||||||
} else {
|
} else {
|
||||||
@@ -199,7 +198,6 @@ public class DispatcherServlet extends VelocityServlet
|
|||||||
// path was provided
|
// path was provided
|
||||||
SiteResourceLoader siteLoader = _app.getSiteResourceLoader();
|
SiteResourceLoader siteLoader = _app.getSiteResourceLoader();
|
||||||
if (siteLoader != null) {
|
if (siteLoader != null) {
|
||||||
Log.info("Wiring up site resource manager.");
|
|
||||||
props.put(RuntimeSingleton.RESOURCE_MANAGER_CLASS,
|
props.put(RuntimeSingleton.RESOURCE_MANAGER_CLASS,
|
||||||
SiteResourceManager.class.getName());
|
SiteResourceManager.class.getName());
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user