Actions should not be Identifiable ?
Cantor, Scott
cantor.2 at osu.edu
Sat Mar 22 15:36:47 EDT 2014
On 3/22/14, 3:26 PM, "Tom Zeller" <tzeller at dragonacea.biz> wrote:
>
>Not sure of the context, but I was leaning to a public method which may
>throw an unchecked exception, to flatten the parent type hierarchy.
I don't think getLogPrefix needs to be public.
>RuntimeException is okay with me for configuration errors, which should
>be thrown during initialize(), which is where a Component ID should be
>injected from the XML Spring config file.
>
>Defaulting the ID to the default impl of toString() sounds ok to me.
Most of the toString implementations are fairly nasty, they display every
field of an object for debugging, so that probably won't work.
>Component.getId() then can be @nonnullafyerinit.
I think the annotation's just wrong now.
-- Scott
More information about the dev
mailing list