[Zope3-checkins] CVS: Zope3/doc/zcml/namespaces.zope.org/startup -
registerRequestFactory.stx:1.4 registerServerType.stx:1.4
Stephan Richter
srichter at cosmos.phy.tufts.edu
Thu Jan 22 18:57:46 EST 2004
Update of /cvs-repository/Zope3/doc/zcml/namespaces.zope.org/startup
In directory cvs.zope.org:/tmp/cvs-serv7874/startup
Modified Files:
registerRequestFactory.stx registerServerType.stx
Log Message:
Update ZCML directives documentation.
=== Zope3/doc/zcml/namespaces.zope.org/startup/registerRequestFactory.stx 1.3 => 1.4 ===
--- Zope3/doc/zcml/namespaces.zope.org/startup/registerRequestFactory.stx:1.3 Sun Jun 22 14:22:38 2003
+++ Zope3/doc/zcml/namespaces.zope.org/startup/registerRequestFactory.stx Thu Jan 22 18:57:15 2004
@@ -1,4 +1,32 @@
-The registerRequestFactory directive
+registerRequestFactory
+ File zope/app/process/meta.zcml, lines 5 - 9.
+
+ Register a particular request factory that can be used by a server.
+
+ Attributes
+
+ publication -- GlobalObject (optional, default=None)
+
+ Publication
+
+ Specifies the Publication component for which this request is used.
+
+ request -- GlobalObject (optional, default=None)
+
+ Request
+
+ Request component that is being instantiated.
+
+ name -- TextLine (required)
+
+ Name
+
+ Name of the request factory
+
+ factory -- GlobalObject (optional, default=None)
+
+ Factory
+
+ If specified, this factory is used to create therequest.
-see src/zope/app/startup/meta.zcml
=== Zope3/doc/zcml/namespaces.zope.org/startup/registerServerType.stx 1.3 => 1.4 ===
--- Zope3/doc/zcml/namespaces.zope.org/startup/registerServerType.stx:1.3 Sun Jun 22 14:22:38 2003
+++ Zope3/doc/zcml/namespaces.zope.org/startup/registerServerType.stx Thu Jan 22 18:57:15 2004
@@ -1,3 +1,56 @@
-The registerServerType directive.
+registerServerType
+
+ File zope/app/process/meta.zcml, lines 11 - 15.
+
+ Register a server type.
+
+ Attributes
+
+ publication -- GlobalObject (optional, default=None)
+
+ Publication
+
+ Specifies the Publication component for which this request is used.
+
+ request -- GlobalObject (optional, default=None)
+
+ Request
+
+ Request component that is being instantiated.
+
+ name -- TextLine (required)
+
+ Name
+
+ Name as which the server will be known.
+
+ factory -- GlobalObject (required)
+
+ Factory
+
+ This factory is used to create the server component.
+
+ requestFactory -- BytesLine (required)
+
+ Request Factory
+
+ This is the factory id that is used to create therequest.
+
+ defaultPort -- Int (required)
+
+ Default Port
+
+ Start the server on this port, if no port is specified.
+
+ logFactory -- GlobalObject (required)
+
+ Log Factory
+
+ This factory is used to create the logging component.
+
+ defaultVerbose -- Bool (required)
+
+ Default Verbose
+
+ If not specifed, should the server start in verbosemode.
-see src/zope/app/startup/meta.zcml
More information about the Zope3-Checkins
mailing list