Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6661

Bean level lock type not applied

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • 12.0.0.Beta1, 12.0.0.Final
    • 10.0.0.Final
    • EJB
    • None
    • Low

    Description

      A singleton EJB has @Lock(LockType.READ) annotation declared on the class level.
      The bean is accessed using a local (defined by @Local annotation) or remote (defined by @Remote annotation) EJB interface.
      SingletonComponent::getLockType returns wrong value (LockType.WRITE) because the beanLevelLockType map does not contain a key equal to the local or remote interface class name. It contains a key equal to the EJB class name that implements those interfaces.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              keiok_jira Keio Kraaner (Inactive)
              Votes:
              2 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: