Choose a topic to test your knowledge and improve your Spring skills
Which interface is used to listen to certain events
Which method is used to publish your own custom event
Which of the following is a well known recognized event
Which event is provoked when web request comes into action
Which of the following is used to convert property values to text Values?
Which property editor is used to specify a URL String for a property of the URL type?
Which interface is used to create your own property editors?
Which of the following property editors are registered by Spring?
What are the ways to create custom Property Editors?
Method which converts property into a string value
Method that converts string into a property value
The property value is retrieved by:-
For a property editor to be searched correctly, it must be located in the same package as the target class, and the name must be Editorβs name
Which package is used for periodic work
Which subinterface provides functionality for managing Threads and their events
Method provided by ExectuorService which returns a Future < T >
Which method provided by ExecutorService is used to check whether job is finished or cancelled
Which of the following classβs instance is used by TimerTaskExecutor for managing jobs
Which tag informs the spring container about the use of AspectJ annotation?
Which of the following is advice supported by Aspect Annotation?
Which advice is executed once a joint point finishes?
Which advice is executed only when joint point returns or throws an exception?
Which advice combines all advices into one?
Which interface is implemented to specify precedence of aspects?
Alternative annotative way to specify precedence of aspects?
Method which returns the highest priority of aspectβs join point?
What will be the output of the code snippet? import org.aspectj.lang.annotation.Aspect; import org.aspectj.lang.annotation.AfterThrowing; @Aspect public class AfterThrowingExample { @AfterThrowing( pointcut="com.xyz.myapp.SystemArchitecture.dataAccessOperation()", throwing="ex") public void doRecoveryActions(DataAccessException e) { throw new IllegalArgumentException(); // ... } }
Which instantiation model is supported by AspectJ?
Which tag in XML is used to declare @Before adviceβs method?
Annotation used to refer poincuts?
Language used to set various kinds of join points
Is the following pointcut expression correct? execution(* ArithmeticCalculator.*(..))
Which of the following pattern is used to match bean name?
Expressions which returns Parameters of pointcuts?
Are logical operators valid in pointcut expressions?
Method which checks if all target classes are matched
Spring supports operations on pointcuts:-
Pointcuts can be composed using:-
Pointcut used to parse an AspectJ pointcut expression string
Which special type of advice is used to implement an interface?
Introduction advice helps in implementing multiple inheritance
In introduction advice you have to modify class to introduce new methods
How does an Introduction advice do this in Spring?
Annotation used to declare an introduction
Attribute used to specify implementation class
How to keep track of the usage of your beans
How to introduce counter field to original bean class?
Tag used to declare aspects
Tag used to enable AspectJ annotation?
Tag which defined Spring AOP configurations