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