glassfish
  1. glassfish
  2. GLASSFISH-20860

javax.enterprise.deploy.shared.ModuleType should support lookup by name

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Trivial Trivial
    • Resolution: Unresolved
    • Affects Version/s: 3.1.2.2, 4.0
    • Fix Version/s: None
    • Component/s: deployment
    • Labels:
      None

      Description

      I do understand that this class predates the enum feature introduced in Java 5. However, it should really provide a method to lookup a MethodType just by its name, e.g. "EAR". I know I can workaround this deficiency with a map, but I think it should be part of the API.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Hong Zhang
            Reporter:
            Christian Schlichtherle
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated: