Hi Simon, as I implemented the JAX-RS-extension three and a half years ago, the JaxRsRestlet was add-only, because all the things in a javax.ws.rs.Application are added to the Restlet-JAX-RS-Instance. So, if you remove, you have to see, what providers and so on you have to remove, and which you have to leave, because they are also added by another JAX-RS-Application. I've long time not looked into the code, so I can't tell something to setApplications(). You could implement a clear, but don't forget to readd the default providers and so on; there must be a method for it somewhere (in the JaxRsRestlet?).
I've no experience this OSGI, so I can't say something to Restlet and OSGI. best regards Stephan -----Ursprüngliche Nachricht----- Von: "Simon Temple" <simon.tem...@amalto.com> Gesendet: 29.09.2011 17:44:02 An: discuss@restlet.tigris.org Betreff: RE: Re: 2.0.3: re-deploying a JAXRS application without restarting the JVM >Apologies for the multiple postings... > >IMHO, I think setApplications() should not "Add the given applications to the >available applications" I think it should *replace* the available applications >with those given. > >wdyt? ___________________________________________________________ Schon gehört? WEB.DE hat einen genialen Phishing-Filter in die Toolbar eingebaut! https://produkte.web.de/mailcheck/ ------------------------------------------------------ http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2847914