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())
def load(self): ''' Loads package. ''' Package.load(self) # Registering pyro4 factory communication.register_factory('zmq', ZmqFactory())
def load(self): Package.load(self) from deltapy.integeration.transaction_to_session_hook import TransactionCleanupHook session_services.add_hook(TransactionCleanupHook())
def unload(self): Package.unload(self)
def load(self): Package.load(self) from deltapy.communication.ice.factory import IceFactory communication.register_factory('ice', IceFactory())
def load(self): Package.load(self) communication.register_factory('pymp', PympFactory())
def load(self): Package.load(self) communication.register_factory('thrift', ThriftFactory())
def load(self): Package.load(self) from deltapy.communication.xmlrpc.factory import XmlrpcFactory communication.register_factory('xmlrpc', XmlrpcFactory())
def load(self): Package.load(self) get_app_context()[APP_SCRIPTING] = ScriptManager()
def unload(self): ''' Unloads package. ''' Package.unload(self)