Uploaded image for project: 'JBoss Metadata'
  1. JBoss Metadata
  2. JBMETA-220

Support JAXB style programming for RAR module

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • 2.0.0.CR1
    • None
    • None
    • None

      Currently we have standard get- and set- methods, like

      @XmlElement(name="outbound-resourceadapter")
      public void setOutboundRa(OutboundRaMetaData outboundRa)

      { this.outboundRa = outboundRa; }

      public OutboundRaMetaData getOutboundRa() { return outboundRa; }

      We should support a JAXB style programming in the RAR module, and thereby creating any objects or lists that doesn't exists in the get-method, like

      @XmlElement(name="outbound-resourceadapter")
      public void setOutboundRa(OutboundRaMetaData outboundRa) { this.outboundRa = outboundRa; }

      public OutboundRaMetaData getOutboundRa()

      { if (outboundRa == null) outboundRa = new OutboundRa(); return outboundRa; }

      This will allow an easier merging between the annotation model and the XML model.

              jeff.zhang_jira Jeff Zhang (Inactive)
              jpederse@redhat.com Jesper Pedersen
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: