proofpoint/platform — Issue #44: Configuration metadata flags abstract getters as duplicates
Author: markkent
Created: 2011-10-12 14:09:57+00:00
State: open

Imported from old tracking system. Originally raised P2 by kmcmurtrie:

Abstract getters in abstract configuration classes are rejected by ConfigurationMetadata.findGetter(Class, Method, String) as duplicates. This prevents using multiple configuration implementations (discovery, config file, test injection, etc) that need to share common methods in a base class. For example, the design below would fail for having two 'getThing' methods.

public abstract class SomeConfig
{
abstract public String getThing();
...common code...
}

public class SomeFileConfig extends SomeConfig
{
...init methods...
public String getThing()
{
return ....
}
}