Class: OSAX::OSAXData

Inherits:
Appscript::AppData show all
Defined in:
lib/osax.rb

Overview

modified AppData class

Constant Summary

Constants inherited from Appscript::AppData

Appscript::AppData::ASDictionaryBundleID, Appscript::AppData::ClassType, Appscript::AppData::Constructors

Instance Attribute Summary

Attributes inherited from Appscript::AppData

#constructor, #identifier, #reference_codecs

Instance Method Summary collapse

Methods inherited from Appscript::AppData

#_display_help, #_init_help_agent, #dont_cache_unpacked_specifiers, #help, #pack, #pack_hash, #reference_by_code, #reference_by_name, #target, #type_by_code, #type_by_name, #unpack_aerecord, #unpack_contains_comp_descriptor, #unpack_enumerated, #unpack_insertion_loc, #unpack_object_specifier, #unpack_property, #unpack_type, #unpack_unknown

Constructor Details

#initialize(constructor, identifier, terms) ⇒ OSAXData

Returns a new instance of OSAXData.



423
424
425
# File 'lib/osax.rb', line 423

def initialize(constructor, identifier, terms)
  super(AEM::Application, constructor, identifier, terms)
end

Instance Method Details

#connectObject



427
428
429
430
431
432
433
434
435
436
# File 'lib/osax.rb', line 427

def connect
  super
  begin
    @target.event('ascrgdut').send(60 * 60) # make sure target application has loaded event handlers for all installed OSAXen
  rescue AEM::EventError => e
    if e.number != -1708 # ignore 'event not handled' error
      raise
    end
  end
end