Free CoreSpringV3.2 Exam Braindumps

Identify the correct statement about the following pointcut expression. Assume that these 2 classes do not inherit from one another:

Execution (* rewards.service.MyClass.*(..)) && execution(* rewards.service2.MyOtherClass.*(..))
(Select one)

  1. Executions of all public method calls in MyClass and MyOtherClass will be selected by this pointcut
  2. Public methods in MyClass and MyOtherClass which take zero arguments will not be selected by this pointcut
  3. Public methods in MyClass and MyOtherClass which take more than one argument will not be selected by this pointcut
  4. This pointcut will never select any join points

Answer(s): D



Which of the following statements is NOT true concerning the BeanPostProcessor Extension point? (Select one)

  1. BeanPostProcessors are called during the init phase
  2. BeanPostProcessors are called after the dependencies have been injected
  3. BeanPostProcessors are called before the BeanFactoryPostProcessors have been called
  4. Custom BeanPostProcessors can be implemented

Answer(s): C



Identify the correct statement(s) about the following pointcut expression:

execution(* rewards.restaurant.*Service.find(..))

  1. The target's type should end with "Service"
  2. The target method name could be "findRestaurantById"
  3. The target method should have one argument only
  4. The target method may have several arguments

Answer(s): A,D



Identify the correct statement(s) about the following pointcut expression:

execution(* rewards..restaurant.*.*(*)) (select one or several answers)

  1. There may be several directories between 'rewards' and 'restaurant'
  2. There is no restriction on the class name
  3. The target method may have several arguments
  4. The return type must not be "void"

Answer(s): A,B






Post your Comments and Discuss SpringSource CoreSpringV3.2 exam with other Community members:

CoreSpringV3.2 Exam Discussions & Posts