/usr/lib/python2.7/dist-packages/schooltool/intervention/adapters.zcml is in python-schooltool.intervention 2.7.1-0ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 | <?xml version="1.0" encoding="utf-8"?>
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:i18n="http://namespaces.zope.org/i18n"
i18n_domain="schooltool.intervention">
<!-- The application hook -->
<adapter
factory=".adapters.InterventionInit"
name="schooltool.interventions" />
<adapter
factory=".adapters.InterventionStartup"
name="schooltool.interventions" />
<!-- Various adapters -->
<adapter
factory=".adapters.getInterventionRoot" />
<adapter
factory=".adapters.getSchoolYearInterventionSchoolYear" />
<adapter
factory=".adapters.getSchoolToolApplicationInterventionSchoolYear" />
<adapter
factory=".adapters.getInterventionSchoolYearSchoolYear" />
<adapter
factory=".adapters.getMarkerInterventionStudent" />
<adapter
factory=".adapters.getStudentYearInterventionStudent" />
<adapter
factory=".adapters.getStudentInterventionStudent" />
<adapter
factory=".adapters.getSchoolYearProxyInterventionStudent" />
<adapter
factory=".adapters.getInterventionStudentStudent" />
<adapter
factory=".adapters.getInterventionMessagesStudent" />
<adapter
factory=".adapters.getInterventionMessageStudent" />
<adapter
factory=".adapters.getInterventionGoalsStudent" />
<adapter
factory=".adapters.getInterventionGoalStudent" />
<adapter
factory=".adapters.getSectionMessagesProxyStudent" />
<adapter
factory=".adapters.getSectionMessagesGoalsProxyStudent" />
<adapter
for=".interfaces.IInterventionStudent"
provides=".interfaces.IInterventionSchoolYear"
factory=".adapters.getInterventionSchoolYearFromObj" />
<adapter
for=".interfaces.IInterventionMessages"
provides=".interfaces.IInterventionSchoolYear"
factory=".adapters.getInterventionSchoolYearFromObj" />
<adapter
for=".interfaces.IInterventionMessage"
provides=".interfaces.IInterventionSchoolYear"
factory=".adapters.getInterventionSchoolYearFromObj" />
<adapter
for=".interfaces.IInterventionGoals"
provides=".interfaces.IInterventionSchoolYear"
factory=".adapters.getInterventionSchoolYearFromObj" />
<adapter
for=".interfaces.IInterventionGoal"
provides=".interfaces.IInterventionSchoolYear"
factory=".adapters.getInterventionSchoolYearFromObj" />
<!-- The name choosers -->
<adapter
for=".interfaces.IInterventionMessages"
factory=".adapters.SequenceNumberNameChooser"
provides="zope.container.interfaces.INameChooser" />
<adapter
for=".interfaces.IInterventionGoals"
factory=".adapters.SequenceNumberNameChooser"
provides="zope.container.interfaces.INameChooser" />
<!-- object event subscribers -->
<adapter
factory=".adapters.PersonRemovedSubsciber"
name="handle_person_removed" />
<adapter
factory=".adapters.SchoolYearRemovedSubsciber"
name="handle_schoolyear_removed" />
</configure>
|