These beans are proxies, some may load asynchronously or take a longer time to register. [code] <osgi:service interface="com.apress.sprin

Nam Phong

New member
These beans are proxies, some may load asynchronously or take a longer time to register.
Code:
<osgi:service
      interface="com.apress.springrecipes.
      osgi.helloworld.service.GreeterService">
      <bean class="com.apress.springrecipes.osgi.helloworld.
      service.GreeterServiceImpl"/>
</osgi:service>
A. True
B. False
 
Answer: a
Explanation: This implies that you may have timing issues to resolve in configuring your service. For this, Spring Dynamic Modules provides the depends-on attribute, which lets your bean wait for another bean.
 

Tìm kiếm

Back
Top