atom feed4 messages in org.apache.struts.devModuleConfigImpl holds reference to f...
FromSent OnAttachments
David GrahamFeb 4, 2003 7:05 pm 
Mohan KishoreFeb 4, 2003 7:20 pm 
Craig R. McClanahanFeb 4, 2003 7:49 pm 
Robert LelandFeb 5, 2003 6:40 am 
Subject:ModuleConfigImpl holds reference to factory
From:David Graham (dgra@hotmail.com)
Date:Feb 4, 2003 7:05:05 pm
List:org.apache.struts.dev

ModuleConfigImpl implements Serializable but the ModuleConfigFactory interface does not. ModuleConfigImpl has a member variable that stores its factory but never actually uses that variable. We have 2 options:

1. Remove the factory variable from ModuleConfigImpl and the constructor that sets it. (my favorite)

2. Make the factory variable transient and add a setFactory() method because there is no way to reset the variable after deserialization.

Comments? I see no problem with number 1 so I'll make the change in a couple days if no one objects.

David