Free CoreSpringV3.2 Exam Braindumps (page: 11)

Page 10 of 25

Identify the correct statement about the following pointcut expression:

execution(@javax.annotation.security.RolesAllowed * rewards.restaurant.*.*(..)) (Select one)

  1. The return type of the target method is RolesAllowed
  2. All method parameters should be annotated with @RolesAllowed
  3. The target method may have one argument
  4. All of the above

Answer(s): C



Which of the following statements defines a "pointcut"? (select one)

  1. A point in the execution of a program such as a method call or field assignment
  2. A module that encapsulates advices
  3. An expression that selects one or more join points
  4. None of the above

Answer(s): C



Which of the following statements defines an "aspect"? (select one)

  1. An encapsulation of advice combined with a pointcut.
  2. A point in the execution of a program such as a method call or field assignment
  3. An expression that selects one or more join points
  4. Code to be executed at a join point that has been selected by a Pointcut

Answer(s): A



Identify the correct statement(s) regarding the following pointcut:
execution (@com.springsource.MyCustomAnnotation void *(..))

  1. Spring does not support annotations inside its pointcut expression language
  2. This will select join points representing void methods that are annotated by
    @com.springsource.MyCustomAnnotation
  3. This will select join points representing methods that may have a public, protected or default visibility
  4. This pointcut will in no situation ever be able to select any join points

Answer(s): B






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

CoreSpringV3.2 Exam Discussions & Posts