[
https://issues.jboss.org/browse/WFLY-2548?page=com.atlassian.jira.plugin....
]
Paul Ferraro commented on WFLY-2548:
------------------------------------
I've created a separate org.wildfly.clustering.web.api module to contain the
@Immutable annotation. This module should be added to the classpath of web deployments,
regardless of whether the clustering modules are present.
I've located the DUP that adds the org.wildfly.clustering.api and
org.wildfly.clustering.singleton modules to the deployment classpath in the jgroups
subsystem - since these are only relevant if this subsystem is installed.
Automatically add org.wildfly.clustering.api/singleton modules to
deployments
-----------------------------------------------------------------------------
Key: WFLY-2548
URL:
https://issues.jboss.org/browse/WFLY-2548
Project: WildFly
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Clustering
Affects Versions: 8.0.0.Beta1
Reporter: Radoslav Husar
Assignee: Paul Ferraro
Fix For: 8.0.0.CR1
Since @Immutable annotated classes will silently fail and the object will be considered
mutable if the user forgets/doesn't add the dependency himself/herself.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira