ListenerQueue listenersAsync = null;;
ListenerQueue listenersAsync = null;
	public void publishBundleEventPrivileged(BundleEvent event) {		/*		 * We must collect the snapshots of the sync and async listeners		 * BEFORE we dispatch the event.		 */		/* Collect snapshot of SynchronousBundleListeners */		ListenerQueue listenersSync = null;		if (bundleEventSync != null) {			/* queue to hold set of listeners */			listenersSync = new ListenerQueue(eventManager);			/* queue to hold set of BundleContexts w/ listeners */			ListenerQueue contexts = new ListenerQueue(eventManager);			/* synchronize while building the listener list */			synchronized (bundleEventSync) {				/* add set of BundleContexts w/ listeners to queue */				contexts.queueListeners(bundleEventSync, this);				/* synchronously dispatch to populate listeners queue */				contexts.dispatchEventSynchronous(BUNDLEEVENTSYNC, listenersSync);			}		}		/* Collect snapshot of BundleListeners */		ListenerQueue listenersAsync = null;;		if (bundleEvent != null) {			/* queue to hold set of listeners */			listenersAsync = new ListenerQueue(eventManager);			/* queue to hold set of BundleContexts w/ listeners */			ListenerQueue contexts = new ListenerQueue(eventManager);			/* synchronize while building the listener list */			synchronized (bundleEvent) {				/* add set of BundleContexts w/ listeners to queue */				contexts.queueListeners(bundleEvent, this);				/* synchronously dispatch to populate listeners queue */				contexts.dispatchEventSynchronous(BUNDLEEVENT, listenersAsync);			}		}		/* Dispatch BundleEvent to SynchronousBundleListeners */		if (listenersSync != null) {			listenersSync.dispatchEventSynchronous(BUNDLEEVENTSYNC, event);		}		/* Dispatch BundleEvent to BundleListeners */		if (listenersAsync != null) {			listenersAsync.dispatchEventAsynchronous(BUNDLEEVENT, event);		}	}