bike part reward : setting bean ID property automatically

Rod Widdowson rdw at steadingsoftware.com
Fri Feb 7 03:38:46 EST 2014


Answering myself, (I really should wait until I have had enough tea before
answering mail)

> I'm not sure where we stand with respect to spring inside java-support,
but
> can you not make the Abstract*Identiable*component implement
> org.springframework.beans.factory.BeanNameAware?

Of course we cannot do this in java-support because this would requires full
use of Spring in OpenSAML.

I don't know whether this is a worthwhile trick for IdP beans.  I would
argue that it is, indeed that we should systematically be using
BeanNameAware, InitializingBean and DisposableBean, but I'm more than happy
to be argued out of that position.

R



More information about the dev mailing list