Java UPOC PropertyTree (variable definition)

Clovertech Forums Read Only Archives Cloverleaf Cloverleaf Java UPOC PropertyTree (variable definition)

  • Creator
    Topic
  • #55462
    Matt Fleming
    Participant

      I have written a Java UPOC that needs a PropertyTree passed to the constructor. Where in the UI do I specify the name value pairs that will be wrapped up in a PropertyTree and passed to the constructor?

      The documentation says:

      Quote:

      The new subclass may require certain configuration information, which can be specified in the Network Configuration definition, read by the engine, and passed as a PropertyTree constructor argument to the new subclass

      Also the other option is to get the PropertyTree on the message call itself. But I don’t know where to do that either? The documentation says:

      Quote:

      Another example is in the facility to extend the metadata associated with each message to include additional metadata items not compiled into the engine (USERDATA)

      Any one got any ideas?

      thanks,

      Matt

    Viewing 0 reply threads
    • Author
      Replies
      • #85417
        Rick Martin
        Participant

          You would pass the data in the Args section on the TPS Properties page where you defined the Java Class to call, the same way you would pass args to a TCL TPS proc.

          The second method is saying you can pass anything you like in the USERDATA (metadata) attached to the message.

      Viewing 0 reply threads
      • The forum ‘Cloverleaf’ is closed to new topics and replies.