Hello We are upgrading from karaf 4.1.4 to 4.4.1 and we are facing issue while upgrading.
We had custom ApplicationScanner Writtern which was dependent(via OSGI bind) on org.ops4j.pax.web.service.WebContainer implementation (on pax 6.0.9 this was working).
Now with 8.0.6 pax this bind method is not working as there in no implementation probably available with Karaf for WebContainer , which was earlier HttpServiceProxy.
I can see that HttpServiceProxy in pax runtime is now no more public in the source code.
Is HttpServiceProxy is not supposed to be osgi bounded externally now?
any alternative for below code to work on pax-8.0.6 work as well?
public void bind(WebContainer service)
{
LOG.info(BINDING, service.getClass().getName());
myHttpService = service;
}
public void unbind(WebContainer service)
{
LOG.info(UNBINDING, service.getClass().getName());
myHttpService = null;
}