#NEWLINE# def configure( self , runtime_environment ) : #NEWLINE# #INDENT# self . runtime_environment = runtime_environment #NEWLINE# self . setServiceParent ( runtime_environment . application ) #NEWLINE# resource_manager = resource_manager . resource_manager #NEWLINE# for ( profile_name , profile_configuration ) in self . database_profiles . items ( ) : #NEWLINE# #INDENT# resource_manager . register ( ( 'database.engine.%s' % profile_name ) , provider = self )