Java Reference
In-Depth Information
</value>
<value>
net.chrisrichardson.foodToGo.domain.
bbbbbbbbbbbbbbb
b
➥
Restaurant.menuItems
</value>
</list>
</entry>
<entry key="updatePaymentInformation">
<list>
<value>
net.chrisrichardson.foodToGo.domain.
bbbbbbbbbbbbbbb
b
➥
PendingOrder.restaurant
</value>
<value>
net.chrisrichardson.foodToGo.domain.
bbbbbbbbbbbbbbb
b
➥
PendingOrder.lineItems
</value>
</list>
</entry>
</map>
</constructor-arg>
</bean>
<bean id="PlaceOrderFieldProxyCreator"
class="org.springframework.aop.framework.autoproxy.
bbbbbbbbbbbbbbbbbbbbbb
➥
BeanNameAutoProxyCreator">
<property name="beanNames">
<list>
<idref bean="PlaceOrderService" />
</list>
</property>
<property name="interceptorNames">
<list>
<idref bean="FetchGroupInterceptor" />
</list>
</property>
</bean>
…
</beans>
The
FetchGroupInterceptor
bean creates and configures a
KodoFetch-
GroupInterceptor
. One parameter is the
PersistenceManagerFactory
, which
is defined elsewhere, and the other is a map that specifies the fields to eagerly
load when a method is invoked. The map is constructed by the
<map>
element
constructs. Each
<entry>
element constructs a map entry with the method as a
key and a list of field names as the value, and each
<list>
element constructs a
Search WWH ::
Custom Search