[jboss-jira] [JBoss JIRA] (WFLY-6661) Bean level lock type not applied
Yeray Borges (JIRA)
issues at jboss.org
Thu Jan 18 03:44:00 EST 2018
[ https://issues.jboss.org/browse/WFLY-6661?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yeray Borges resolved WFLY-6661.
--------------------------------
Fix Version/s: 12.0.0.Alpha1
Resolution: Duplicate Issue
> Bean level lock type not applied
> --------------------------------
>
> Key: WFLY-6661
> URL: https://issues.jboss.org/browse/WFLY-6661
> Project: WildFly
> Issue Type: Bug
> Components: EJB
> Affects Versions: 10.0.0.Final
> Reporter: Keio Kraaner
> Fix For: 12.0.0.Alpha1
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list