private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }
private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }
private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }
private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }
private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }
private void setNewHandler(ServiceReference<ContentHandler> reference, int rank) { if (contentHandlerServiceReference != null) context.ungetService(contentHandlerServiceReference); contentHandlerServiceReference = reference; ranking = rank; if (reference == null) realHandler = new DefaultContentHandler(); else realHandler = URLStreamHandlerFactoryImpl.secureAction.getService(reference, context); }