Home / CSE MCQs / Spring MCQs :: Discussion

Discussion :: Spring MCQs

  1. Class used to have full access to the Spring context's life cycle machinery and dependency injection.
  2. A.
    DelegatingFilterProxy
    B.
    WebApplicationContextUtils.getRequiredWeb()
    C.
    WebApplicationUtils.getRequiredWebApplicationContext()
    D.
    None of the mentioned

    View Answer

    Workspace

    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