[jboss-jira] [JBoss JIRA] Created: (JGRP-987) Make many classes immutable
Bela Ban (JIRA)
jira-events at lists.jboss.org
Wed Jun 3 09:08:11 EDT 2009
Make many classes immutable
---------------------------
Key: JGRP-987
URL: https://jira.jboss.org/jira/browse/JGRP-987
Project: JGroups
Issue Type: Feature Request
Reporter: Bela Ban
Assignee: Bela Ban
Fix For: 3.x
Currently, a lot of classes could be immutable if it wasn't for the readFrom() method to initialize itself from an input stream.
However, if we had a factory, which reads and constructs immutable instances of classes, then we could turn a lot of classes into immutable classes, for example all headers should be immutable.
The code for marshalling and unmarshalling could be generated, e.g. based on an XML description of the data layout of a class.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list