Clean up the mta directory.
[mailman.git] / src / mailman / config / configure.zcml
blob535cf729f68c8f5edb5966bb26569c6f30d73440
1 <!-- -*- xml -*- -->
2 <configure
3     xmlns="http://namespaces.zope.org/zope">
5   <include package="zope.component" file="meta.zcml"/>
7   <adapter
8     for="mailman.interfaces.mailinglist.IMailingList"
9     provides="mailman.interfaces.bans.IBanManager"
10     factory="mailman.model.bans.BanManager"
11     />
13   <adapter
14     for="None"
15     provides="mailman.interfaces.bans.IBanManager"
16     factory="mailman.model.bans.BanManager"
17     />
19   <adapter
20     for="mailman.interfaces.mailinglist.IMailingList"
21     provides="mailman.interfaces.autorespond.IAutoResponseSet"
22     factory="mailman.model.autorespond.AutoResponseSet"
23     />
25   <adapter
26     for="mailman.interfaces.mailinglist.IMailingList"
27     provides="mailman.interfaces.mailinglist.IAcceptableAliasSet"
28     factory="mailman.model.mailinglist.AcceptableAliasSet"
29     />
31   <adapter
32     for="mailman.interfaces.mailinglist.IMailingList"
33     provides="mailman.interfaces.mailinglist.IListArchiverSet"
34     factory="mailman.model.mailinglist.ListArchiverSet"
35     />
37   <adapter
38     for="mailman.interfaces.mailinglist.IMailingList"
39     provides="mailman.interfaces.mailinglist.IHeaderMatchList"
40     factory="mailman.model.mailinglist.HeaderMatchList"
41     />
43   <adapter
44     for="mailman.interfaces.mailinglist.IMailingList"
45     provides="mailman.interfaces.requests.IListRequests"
46     factory="mailman.model.requests.ListRequests"
47     />
49   <adapter
50     for="mailman.interfaces.mailinglist.IMailingList"
51     provides="mailman.interfaces.registrar.IRegistrar"
52     factory="mailman.app.registrar.Registrar"
53     />
55   <utility
56     provides="mailman.interfaces.bounce.IBounceProcessor"
57     factory="mailman.model.bounce.BounceProcessor"
58     />
60   <utility
61     provides="mailman.interfaces.database.IDatabaseFactory"
62     factory="mailman.database.factory.DatabaseFactory"
63     name="production"
64     />
66   <utility
67     provides="mailman.interfaces.database.IDatabaseFactory"
68     factory="mailman.database.factory.DatabaseTestingFactory"
69     name="testing"
70     />
72   <utility
73     provides="mailman.interfaces.domain.IDomainManager"
74     factory="mailman.model.domain.DomainManager"
75     />
77   <utility
78     provides="mailman.interfaces.languages.ILanguageManager"
79     factory="mailman.languages.manager.LanguageManager"
80     />
82   <utility
83     provides="mailman.interfaces.listmanager.IListManager"
84     factory="mailman.model.listmanager.ListManager"
85     />
87   <utility
88     provides="mailman.interfaces.mta.IMailTransportAgentAliases"
89     factory="mailman.mta.aliases.MailTransportAgentAliases"
90     />
92   <utility
93     provides="mailman.interfaces.messages.IMessageStore"
94     factory="mailman.model.messagestore.MessageStore"
95     />
97   <utility
98     provides="mailman.interfaces.pending.IPendings"
99     factory="mailman.model.pending.Pendings"
100     />
102   <utility
103    provides="mailman.interfaces.styles.IStyleManager"
104    factory="mailman.styles.manager.StyleManager"
105    />
107   <utility
108     provides="mailman.interfaces.subscriptions.ISubscriptionService"
109     factory="mailman.model.subscriptions.SubscriptionService"
110     />
112   <utility
113     provides="mailman.interfaces.usermanager.IUserManager"
114     factory="mailman.model.usermanager.UserManager"
115     />
117   <utility
118     provides="mailman.interfaces.address.IEmailValidator"
119     factory="mailman.email.validate.Validator"
120     />
122   <utility
123    provides="mailman.interfaces.templates.ITemplateLoader"
124    factory="mailman.app.templates.TemplateLoader"
125    />
127   <utility
128     provides="mailman.interfaces.workflow.IWorkflowStateManager"
129     factory="mailman.model.workflow.WorkflowStateManager"
130     />
132 </configure>