Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-1059

Expose events for instantiation and destruction of drivers

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • drone_1.1.0.CR2
    • Extension - Drone
    • None

      Right now, Graphene needs to wrap all specific factories with higher priority and delegate to original factories - in the process, Graphene creates proxy for real instance (to allow its magic) and during destruction, Graphene "unwraps" original instance and pass it to real implementation.

      It forces Graphene reflect changes in drivers implemented by Drone and ties it to the particular version of Drone.

      The suggested events should allow listeners to "modify" the created instance (e.g. Graphene could then provide its proxy instead and setup real implementation to context).

      Similarly during destruction, event should be fired before destroy method, which would allow to reflect changes and provide the real instance to be destroyed (Graphene would unwrap proxy and pass real driver instance to destroy and reset the context).

            lfryc Lukáš Fryč (Inactive)
            lfryc Lukáš Fryč (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: