JMX (Java Management Extensions) Question:
How does a Spring Factory Bean work?
Answer:
It is created by Spring automatically, any setters are called on the factory then its getObject() method is called to allocate the actual bean.
Previous Question | Next Question |
What is the advantage of constructor dependency injection? | What are the 5 scopes defined in Spring? |