Bug 110968

Summary: document public constructors of subclasses of com.arsdigita.runtime.AbstractConfig
Product: [Retired] Red Hat Web Application Framework Reporter: Vadim Nasardinov <vnasardinov>
Component: otherAssignee: ccm-bugs-list
Status: CLOSED WONTFIX QA Contact: Jon Orris <jorris>
Severity: low Docs Contact:
Priority: medium    
Version: nightly   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-08-03 18:38:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vadim Nasardinov 2003-11-25 23:31:29 UTC
All of the subclasses of AbstractConfig (that I cared to look at)
provide a public constructor that is not meant to be used.  At
the very least, these constructors should have javadoc along the lines of

    /**
     * Do not instantiate this class directly.
     *
     * @see ContentSection#getConfig()
     **/
    public ContentSectionConfig() {
         ...
    }


Ideally, the singletonness should be enforced rather than advised,
unless there is some fundamental reason why it can't be enforced.

Comment 1 Vadim Nasardinov 2005-08-03 18:38:38 UTC
stale