adplus-dvertising
frame-decoration

Question

How to inject Spring bean into domain objects

a.

AOP

b.

XML

c.

AspectJ

d.

Java Based

Answer: (a).AOP

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. How to inject Spring bean into domain objects

Similar Questions

Discover Related MCQs

Q. We can directly use Spring AOP for injection of beans.

Q. Which scope does @Configurable instantiated class looks for?

Q. Spring includes AnnotationBeanConfigurerAspect in its aspect library for configuring the dependencies of any objects.

Q. Scripting languages supported by Spring?

Q. Scripting language based on Ruby

Q. Dynamic Language for java platform to cope up with other languages

Q. Lightweight java scripting language executing java fragments

Q. In Ruby instance variable begins with

Q. XML Element to declare a bean implemented by JRuby

Q. XML element to specify the property values for scripting bean

Q. XML Element to declare a bean implemented by Groovy

Q. Script’s location is specified by attribute

Q. Interface used to create additional features in groovy based beans

Q. Attribute which specifies all the interfaces

Q. Class-based proxies are best way to advise scripted beans

Q. Element which allows you to control the scope

Q. BeanShell Library dependencies

Q. Attribute used by Spring to refresh beans

Q. Spring IoC container refreshes the script periodically according to the interval period specified

Q. Default value of refresh-check-delay attribute