lib/core/core_controller.rb
# controller_connect call lorj framework to execute a
# controller connection task
#
# parameters:
# - +object_type+: Lorj object type to use for the connection.
# - +params+     : Parameters to use for connection.
controller_connect call lorj framework to execute a
controller connection task

+object_type+: Lorj object type to use for the connection.
+params+     : Parameters to use for connection.
controller_connect call lorj framework to execute a controller connection task + object_type + : Lorj object type to use for the connection . + params + : Parameters to use for connection .
def controller_connect(sObjectType, params = nil)
      _add_instant_config(params)
      controller_params = _get_controller_params(sObjectType,
                                                 :create_e, :connect)
      controller_obj = @controller.connect(sObjectType, controller_params)
      data_obj = Lorj::Data.new
      data_obj.base = self
      data_obj.set(controller_obj, sObjectType) do |sObjType, oObject|
        begin
          _return_map(sObjType, oObject)
        rescue => e
          PrcLib.runtime_fail 'connect %s.%s : %s',
                              @process.class, sObjectType, e.message
        end
      end
      @object_data.add data_obj
      data_obj
    end
def controller_connect ( sObjectType , params = nil ) _add_instant_config ( params ) controller_params = _get_controller_params ( sObjectType , :create_e , :connect ) controller_obj = @controller . connect ( sObjectType , controller_params ) data_obj = Lorj :: Data . new data_obj . base = self data_obj . set ( controller_obj , sObjectType ) do | sObjType , oObject | begin _return_map ( sObjType , oObject ) rescue => e PrcLib . runtime_fail 'connect %s.%s : %s' , @process . class , sObjectType , e . message end end @object_data . add data_obj data_obj end
controller_connect call lorj framework to execute a
controller connection task
controller_connect call lorj framework to execute a controller connection task
sObjectType
<not_specific>
params
<not_specific>