Uploaded image for project: 'TorqueBox'
  1. TorqueBox
  2. TORQUE-245

Provide Simple Way to Invoke Methods on HASingleton Service Instance from Remote Nodes

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Jobs
    • None

    Description

      TORQUE-194 adds HASingleton support and this is an extension of that to make it possible to obtain a reference and call methods on the HASingleton Service instance from a remote node.

      Maybe something like:

      TorqueBox::Services["IrcBotService"].messages_since(Time.now)

      For this to work on non-master nodes, TorqueBox::Services["IrcBotService"] will have to return an object that's an RMI stub to talk to the actual service running on the master node. This could be JBoss Remoting, Java RMI, DRb, or something else - it's open for discussion.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bbrownin@redhat.com Ben Browning
              Archiver:
              samahaja@redhat.com Sagar Mahajan

              Dates

                Created:
                Updated:
                Archived: