How is Spring BeanFactory able to instantiate a non-public class?
-
12-11-2019 - |
Pregunta
Spring newbie here.
I observed that Spring was able to instantiate a non-public class (i.e. a class with default visibility) that I had defined. Can anyone tell me how Spring achieves this? Why is this allowed ?
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow