* @param events The {@link javax.jcr.observation.Event Events} to be
* dispatched.
*/
public void onEvent(EventIterator events) {
try {
RemoteEventCollection remoteEvent = factory.getRemoteEvent(listenerId, events);
queue.put(remoteEvent);
} catch (RemoteException re) {
Throwable t = (re.getCause() == null) ? re : re.getCause();
log.error("Problem creating remote event for " + listenerId, t);
}