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

programmatic way to shutdown cxf jaxrs bus or endpoint?

$
0
0
I have a cxf jaxrs application configured using java config similar to this post http://stackoverflow.com/questions/13520821/autodiscover-jax-rs-resources-with-cxf-in-a-spring-application.

However, I have my code in a Maven based project that has Cobertura code coverage. The test cases are run twice and it seems the endpoints are not shutdown in the first test run and when running the code coverage the test case tries to standup the endpoints again. Is there a way to shutdown the endpoints or the cxf jaxrs server after the first test case run?

thanks

-Sonam

Viewing all articles
Browse latest Browse all 5648

Trending Articles