Class<?> iClass,
Object serviceBean,
String address,
Bus bus) {
JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
<BUG>if (bus != null) {</BUG>
factory.setBus(bus);
<BUG>}</BUG>
List<UserResource> resources = JaxRSUtils.getModel(callingContext, iClass);
if (resources != null) {

Class<?> iClass,
Object serviceBean,
String address,
Bus bus) {
JAXRSServerFactoryBean factory = new JAXRSServerFactoryBean();
factory.setBus(bus);
List<UserResource> resources = JaxRSUtils.getModel(callingContext, iClass);
if (resources != null) {
