IDNStudy.com, kung saan ang iyong mga tanong ay natutugunan ng mga eksperto. Sumali sa aming interactive na platform ng tanong at sagot para sa mabilis at eksaktong tugon mula sa mga propesyonal sa iba't ibang larangan.

what is detailed entry exit log should be created​

Sagot :

Answer:

you can use Spring's component scan to autowire your beans.

Simply add

<context:component-scan base-package="<PACKAGE>" />

to your applicationContext.xml. You have to replace "" with the package you want to scan for beans.

Also, you have to annotate your beans with

@Component

to say "hey, this is a bean" to Spring. To inject dependencies into other beans, simply tag the field with