Exemplo n.º 1
0
    def load(self):
        Package.load(self)
        
        from deltapy.commander.components import TransactionalCommandManagerComponet
        from deltapy.application.services import register_component
        from deltapy.locals import APP_COMMANDER

        register_component(APP_COMMANDER, 
                           TransactionalCommandManagerComponet())
Exemplo n.º 2
0
    def load(self):
        '''
        Loads package.
        '''

        Package.load(self)

        # Registering pyro4 factory
        communication.register_factory('zmq', ZmqFactory())
Exemplo n.º 3
0
    def load(self):
        Package.load(self)

        from deltapy.integeration.transaction_to_session_hook import TransactionCleanupHook

        session_services.add_hook(TransactionCleanupHook())
Exemplo n.º 4
0
 def unload(self):
     Package.unload(self)
Exemplo n.º 5
0
 def load(self):
     Package.load(self)
     
     from deltapy.communication.ice.factory import IceFactory 
     communication.register_factory('ice', IceFactory())
Exemplo n.º 6
0
 def load(self):
     Package.load(self)
     
     communication.register_factory('pymp', PympFactory())
Exemplo n.º 7
0
 def load(self):
     Package.load(self)
     communication.register_factory('thrift', ThriftFactory())
Exemplo n.º 8
0
    def load(self):
        Package.load(self)

        from deltapy.communication.xmlrpc.factory import XmlrpcFactory
        communication.register_factory('xmlrpc', XmlrpcFactory())
Exemplo n.º 9
0
 def load(self):
     Package.load(self)
     get_app_context()[APP_SCRIPTING] = ScriptManager()
Exemplo n.º 10
0
 def unload(self):
     '''
     Unloads package.
     '''
     Package.unload(self)