Quantcast
Channel: Apache Timeline
Viewing all articles
Browse latest Browse all 5648

Make JAXRSServerFactoryBean construct new resource instances earlier

$
0
0
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

Viewing all articles
Browse latest Browse all 5648

Trending Articles