framework.publishFrameworkEvent(FrameworkEvent.ERROR, factorybundle, be);
context.framework.publishFrameworkEvent(FrameworkEvent.ERROR, factorybundle, be);
	protected void releaseService() {		if ((useCount > 0) && (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_SERVICES) {					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;		}		useCount = 0;	}