Hi Rice
JAXRSServerFactoryBean has the methods also used by Spring, I don;t
recall right now, but you pass it resource instances...
Cheers. Sergey
On 24/07/14 19:29, Rice Yeh wrote:
Hi,
Just find that resouce instances are constructed only when there is
request targeting the resouce class if I use java code
JAXRSServerFactoryBean.setResourceClasses(...). But i need to construct
these resource instances as early as possible. How to do it? By thru.
spring, I don't have this problem. But I am coding tests. So I more like to
code it in java code.
Rice
--
Sergey Beryozkin
Talend Community Coders
http://coders.talend.com/
Blog: http://sberyozkin.blogspot.com