From: cvs@openprivacy.orgCVS update: talon/src/config
Date: Wednesday February 7, 19101 @ 1:59
Author: burton
CVSWEB Options: -------------------
Main CVSWeb: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi
View this module: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/config
-----------------------------------
Update of /usr/local/cvs/public/talon/src/config
In directory giga:/tmp/cvs-serv11350/src/config
Modified Files:
talon.properties
Log Message:
...
*****************************************************************
File: talon/src/config/talon.properties
CVSWEB Options: -------------------
CVSWeb: Annotate this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/config/talon.properties?annotate=1.4
CVSWeb: View this file: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/config/talon.properties?rev=1.4&content-type=text/x-cvsweb-markup
CVSWeb: Diff to previous version: http://openprivacy.org/cgi-bin/cvsweb/cvsweb.cgi/talon/src/config/talon.properties.diff?r1=1.4&r2=1.3
-----------------------------------
Index: talon/src/config/talon.properties
diff -u talon/src/config/talon.properties:1.3 talon/src/config/talon.properties:1.4
--- talon/src/config/talon.properties:1.3 Wed Feb 7 00:17:14 2001
+++ talon/src/config/talon.properties Wed Feb 7 01:59:33 2001
@@ -1,7 +1,7 @@
################################################################################
# Talon configuration file
# Author: Kevin A. Burton (burton@apache.org | burton@openprivacy.org )
-# $Id: talon.properties,v 1.3 2001/02/07 08:17:14 burton Exp $
+# $Id: talon.properties,v 1.4 2001/02/07 09:59:33 burton Exp $
################################################################################
#
# This is the main property file you need to edit in order to have a function
@@ -56,13 +56,27 @@
# OPTIONAL PROPERTIES #
################################################################################
-talon.component.0.interface=talon.interfaces.Logger
-talon.component.0.classname=talon.implementation.FileLogger
-talon.component.0.lifetime=singleton
+################################################################################
+# Register components within Talon. Each component has a reserved set of #
+# properties that can be registered into the system. The "_interface",
+# "_classname" and "_lifetime" are required.
+#
+# _interface -> interface classname for component
+# _implementation -> classname which implements the above interface
+# _lifetime -> specify the lifetime of this component. This can be
+# either "singleton" | "channel"
+# _name -> name of this component so that it can be requested by
+# name.
+
+talon.component.0._name=default_logger
+talon.component.0._interface=talon.interfaces.Logger
+talon.component.0._implementation=talon.implementation.FileLogger
+talon.component.0._lifetime=singleton
#define a PropertyManger component which is actually a PropertyFileManager
#(impl) which defines a property named "project"
-talon.component.1.interface=talon.interfaces.PropertyManager
-talon.component.1.classname=talon.implementation.PropertyFileManager
-talon.component.1.lifetime=singleton
-talon.component.1.project=talon
+talon.component.1._name=default_property_manager
+talon.component.1._interface=talon.interfaces.PropertyManager
+talon.component.1._implementation=talon.implementation.PropertyFileManager
+talon.component.1._lifetime=singleton
+talon.component.1._project=talon
This archive was generated by hypermail 2b30 : Wed Feb 07 2001 - 01:59:35 PST