summaryrefslogtreecommitdiff
path: root/repoze/bfg/configure.zcml
blob: 2a9eea9dc1cbbc7ad8e6a4d3aec550619eae7909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<configure xmlns="http://namespaces.zope.org/zope"
	           i18n_domain="repoze.bfg">

  <include package="z3c.pt" />
  <include package="zope.security" file="meta.zcml"/>

  <!-- enable when we figure out app-local registries
  <adapter
     factory=".router.app_component_registry"
     provides="zope.component.interfaces.IComponentLookup"
     for="zope.configuration.interfaces.IConfigurationContext"
     />
  -->

  <permission
      id="repoze.view"
      title="View"
      />

  <adapter
      factory=".traversal.NaivePublishTraverser"
      provides=".interfaces.IPublishTraverserFactory"
      for="* *"
  />

  <adapter
      factory=".wsgiadapter.NaiveWSGIViewAdapter"
      provides=".interfaces.IWSGIApplicationFactory"
      for="* * *"
   />

  <include file="meta.zcml" />

</configure>