[Zope3-checkins] SVN: Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml Get registration info from the handlers.

Jim Fulton jim at zope.com
Sat Apr 22 11:02:33 EDT 2006


Log message for revision 67273:
  Get registration info from the handlers.
  

Changed:
  U   Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml

-=-
Modified: Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml
===================================================================
--- Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml	2006-04-22 15:02:30 UTC (rev 67272)
+++ Zope3/branches/jim-adapter/src/zope/app/module/configure.zcml	2006-04-22 15:02:32 UTC (rev 67273)
@@ -8,17 +8,9 @@
         />
   </localUtility>
 
-  <subscriber
-     for="zope.component.interfaces.IUtilityRegistration
-          zope.component.interfaces.IRegistrationActivatedEvent"
-     handler=".manager.setNameOnActivation"
-     />
+  <subscriber handler=".manager.setNameOnActivation" />
 
-  <subscriber
-     for="zope.component.interfaces.IUtilityRegistration
-          zope.component.interfaces.IRegistrationDeactivatedEvent"
-     handler=".manager.unsetNameOnDeactivation"
-     />
+  <subscriber handler=".manager.unsetNameOnDeactivation" />
 
   <adapter
       for="zope.app.component.interfaces.ISiteManagementFolder"



More information about the Zope3-Checkins mailing list