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

Create common base class for all JCA 1.6 implementations

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Alpha
    • None
    • None
    • None

      Create a common base class for all the JCA 1.6 implementations, like

      JCA16Base

      which contains the following:

      private boolean metadataComplete;
      private List<String> requiredWorkContexts;

      public boolean isMetadataComplete()

      { return metadataComplete; }

      @XmlAttribute(required=true)
      public void setMetadataComplete(boolean metadataComplete)

      { this.metadataComplete = metadataComplete; }

      public List<String> getRequiredWorkContexts()

      { return requiredWorkContexts; }

      @XmlElement(name = "required-work-context")
      public void setRequiredWorkContexts(List<String> requiredWorkContexts)

      { this.requiredWorkContexts = requiredWorkContexts; }

      This will eliminate the need to type cast to each implementation specific class.

      (Using trunk snapshot)

              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: