comparison idavoll/idavoll.py @ 52:0947b46c0968

Use ISubscriptionService support of PostgreSQL backend.
author Ralph Meijer <ralphm@ik.nu>
date Wed, 03 Nov 2004 17:27:57 +0000
parents 9685b7e291ef
children 445a61f872b6
comparison
equal deleted inserted replaced
51:40ac06941edc 52:0947b46c0968
104 104
105 bsc = b.NotificationService() 105 bsc = b.NotificationService()
106 bsc.setServiceParent(bs) 106 bsc.setServiceParent(bs)
107 component.IService(bsc).setServiceParent(sm) 107 component.IService(bsc).setServiceParent(sm)
108 108
109 bsc = b.SubscriptionService()
110 bsc.setServiceParent(bs)
111 component.IService(bsc).setServiceParent(sm)
112
109 if config['backend'] == 'memory': 113 if config['backend'] == 'memory':
110 bsc = b.NodeCreationService() 114 bsc = b.NodeCreationService()
111 bsc.setServiceParent(bs)
112 component.IService(bsc).setServiceParent(sm)
113
114 bsc = b.SubscriptionService()
115 bsc.setServiceParent(bs) 115 bsc.setServiceParent(bs)
116 component.IService(bsc).setServiceParent(sm) 116 component.IService(bsc).setServiceParent(sm)
117 117
118 s = IdavollService() 118 s = IdavollService()
119 s.setServiceParent(sm) 119 s.setServiceParent(sm)