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