Community
Participate
Working Groups
DsfMIOutput objects are used to create the DsfMIInfo objects which are the output of commands sent to the MI back end. These objects are then included in the results to IDMService.getDMData() objects and stored in various command and data caches. To guarantee the stability of the data in these caches, the DsfMIOutput objects as well as DsfMIInfo objects and everything that derives from them should be immutable. These objects were originally copied from the CDI-MI implementation and making them immutable is a further work item in completing this refactoring.
During refactoring of IDMContext objects in November, I also refactored DsfMIOutput so that it is Immutable. Base DsfMIInfo class is also immutable. The only thing that is left is to go through all the info classes that derive from DsfMIInfo and clean up their constructors so that their fields are all declared final.