Discussion :: Spring MCQs
- Class used to have full access to the Spring context's life cycle machinery and dependency injection.
A.
DelegatingFilterProxy
|
B.
WebApplicationContextUtils.getRequiredWeb()
|
C.
WebApplicationUtils.getRequiredWebApplicationContext()
|
D.
None of the mentioned
|
Answer : Option A
Explanation :
If you want to implement filter-like functionality but want to have full access to the Spring context's life cycle machinery and dependency injection, use the DelegatingFilterProxy class.
Be The First To Comment