framework.publishFrameworkEvent(FrameworkEvent.ERROR, factorybundle, be);
context.framework.publishFrameworkEvent(FrameworkEvent.ERROR, factorybundle, be);
	protected boolean ungetService() {		if (useCount == 0) {			return (true);		}		useCount--;		if (useCount == 0) {			if (factory != null) {				try {					AccessController.doPrivileged(new PrivilegedAction() {						public Object run() {							factory.ungetService(context.bundle, registration, service);							return null;						}					});				} catch (Throwable t) {					if (Debug.DEBUG && Debug.DEBUG_GENERAL) {						Debug.println(factory + ".ungetService() exception");						Debug.printStackTrace(t);					}					Bundle factorybundle = registration.context.bundle;					BundleException be = new BundleException(Msg.formatter.getString("SERVICE_FACTORY_EXCEPTION", factory.getClass().getName(), "ungetService"), t);					framework.publishFrameworkEvent(FrameworkEvent.ERROR, factorybundle, be);				}				service = null;			}			return (true);		}		return (false);	}