I want to configure a bean with Spring using normal XML configuration files.
However, once the bean has been set by Spring, I want to guarantee that the bean can never be modified again.
I cant make things final inside or else Spring cant set them.
What's good design pattern for this that is proven and works.
Thanks for the help.
However, once the bean has been set by Spring, I want to guarantee that the bean can never be modified again.
I cant make things final inside or else Spring cant set them.
What's good design pattern for this that is proven and works.
Thanks for the help.
Comment