adplus-dvertising
frame-decoration

Question

Which method is used to publish your own custom event

a.

contextPublish

b.

publishEvent

c.

applicationEventPublish

d.

addEvent

Answer: (b).publishEvent

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Which method is used to publish your own custom event

Similar Questions

Discover Related MCQs

Q. Which of the following is a well known recognized event

Q. Which event is provoked when web request comes into action

Q. Which of the following is used to convert property values to text Values?

Q. Which property editor is used to specify a URL String for a property of the URL type?

Q. Which interface is used to create your own property editors?

Q. Which of the following property editors are registered by Spring?

Q. What are the ways to create custom Property Editors?

Q. Method which converts property into a string value

Q. Method that converts string into a property value

Q. The property value is retrieved by:-

Q. 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

Q. Which package is used for periodic work

Q. Which subinterface provides functionality for managing Threads and their events

Q. Method provided by ExectuorService which returns a Future < T >

Q. Which method provided by ExecutorService is used to check whether job is finished or cancelled

Q. The Quartz integration and message driven POJO container doesn’t needs TaskExecutor Services

Q. Which of the following class’s instance is used by TimerTaskExecutor for managing jobs