Commit eb07c683 authored by Fred Drake's avatar Fred Drake

Use dotted names for abstract types in ZConfig schema components.

parent 7a57b9ec
......@@ -2,11 +2,11 @@
<!-- XXX needs descriptions for everything -->
<abstracttype name="storage"/>
<abstracttype name="database"/>
<abstracttype name="ZODB.storage"/>
<abstracttype name="ZODB.database"/>
<sectiontype name="filestorage" datatype=".FileStorage"
implements="storage">
implements="ZODB.storage">
<key name="path" required="yes">
<description>
Path name to the main storage file. The names for
......@@ -38,7 +38,7 @@
</sectiontype>
<sectiontype name="mappingstorage" datatype=".MappingStorage"
implements="storage">
implements="ZODB.storage">
<key name="name" default="Mapping Storage"/>
</sectiontype>
......@@ -46,7 +46,7 @@
The extension relationship seems a little odd.
-->
<sectiontype name="fullstorage" datatype=".BDBFullStorage"
implements="storage">
implements="ZODB.storage">
<key name="name" required="yes" />
<key name="interval" datatype="time-interval" default="2m" />
<key name="kbyte" datatype="integer" default="0" />
......@@ -60,10 +60,10 @@
</sectiontype>
<sectiontype name="minimalstorage" datatype=".BDBMinimalStorage"
implements="storage" extends="fullstorage"/>
implements="ZODB.storage" extends="fullstorage"/>
<sectiontype name="zeoclient" datatype=".ZEOClient"
implements="storage">
implements="ZODB.storage">
<multikey name="server" datatype="socket-address" required="yes"/>
<key name="storage" default="1"/>
<key name="cache-size" datatype="integer" default="20000000"/>
......@@ -78,16 +78,16 @@
</sectiontype>
<sectiontype name="demostorage" datatype=".DemoStorage"
implements="storage">
implements="ZODB.storage">
<key name="name" default="Demo Storage"/>
<section type="storage" name="*" attribute="base"/>
<section type="ZODB.storage" name="*" attribute="base"/>
<key name="quota" datatype="integer"/>
</sectiontype>
<sectiontype name="zodb" datatype=".ZODBDatabase"
implements="database">
<section type="storage" name="*" attribute="storage"/>
implements="ZODB.database">
<section type="ZODB.storage" name="*" attribute="storage"/>
<key name="cache-size" datatype="integer" default="5000"/>
<key name="pool-size" datatype="integer" default="7"/>
<key name="version-pool-size" datatype="integer" default="3"/>
......
......@@ -2,6 +2,6 @@
<import package="ZODB"/>
<section type="database" name="*" attribute="database"/>
<section type="ZODB.database" name="*" attribute="database"/>
</schema>
<component prefix="zLOG.datatypes">
<abstracttype name="loghandler"/>
<abstracttype name="zLOG.loghandler"/>
<sectiontype name="base-log-handler">
<sectiontype name="zLOG.base-log-handler">
<description>
Base type for most log handlers. This is cannot be used as a
loghandler directly since it doesn't implement the loghandler
......@@ -13,14 +13,14 @@
</sectiontype>
<sectiontype name="logfile" datatype=".FileHandlerFactory"
implements="loghandler" extends="base-log-handler">
implements="zLOG.loghandler" extends="zLOG.base-log-handler">
<key name="path" required="yes"/>
<key name="format" default="------\n%(asctime)s %(message)s"
datatype=".log_format"/>
</sectiontype>
<sectiontype name="syslog" datatype=".SyslogHandlerFactory"
implements="loghandler" extends="base-log-handler">
implements="zLOG.loghandler" extends="zLOG.base-log-handler">
<key name="facility" default="user" datatype=".syslog_facility"/>
<key name="address" datatype="socket-address" default="localhost:514"/>
<key name="format" default="%(message)s"
......@@ -28,14 +28,14 @@
</sectiontype>
<sectiontype name="win32-eventlog" datatype=".Win32EventLogFactory"
implements="loghandler" extends="base-log-handler">
implements="zLOG.loghandler" extends="zLOG.base-log-handler">
<key name="appname" default="Zope"/>
<key name="format" default="%(message)s"
datatype=".log_format"/>
</sectiontype>
<sectiontype name="http-logger" datatype=".HTTPHandlerFactory"
implements="loghandler" extends="base-log-handler">
implements="zLOG.loghandler" extends="zLOG.base-log-handler">
<key name="url" default="http://localhost/" datatype=".http_handler_url"/>
<key name="method" default="GET" datatype=".get_or_post"/>
<key name="format" default="%(asctime)s %(message)s"
......@@ -43,7 +43,7 @@
</sectiontype>
<sectiontype name="email-notifier" datatype=".SMTPHandlerFactory"
implements="loghandler" extends="base-log-handler">
implements="zLOG.loghandler" extends="zLOG.base-log-handler">
<key name="from" required="yes" attribute="fromaddr"/>
<multikey name="to" required="yes" attribute="toaddrs"/>
<key name="subject" default="Message from Zope"/>
......@@ -55,7 +55,7 @@
<sectiontype name="eventlog" datatype=".EventLogFactory">
<key name="level" datatype=".logging_level" default="info"/>
<multisection type="loghandler" attribute="handlers" name="*"/>
<multisection type="zLOG.loghandler" attribute="handlers" name="*"/>
</sectiontype>
</component>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment