public void addEventListener(long listenerId, int eventTypes,
String absPath, boolean isDeep, String[] uuid, String[] nodeTypeName,
boolean noLocal) throws RepositoryException, RemoteException {
// find the proxy or create one
ServerEventListenerProxy proxy;
synchronized (this) {
if (proxyMap == null) {
proxyMap = new HashMap<Long, ServerEventListenerProxy>();
}
Long id = Long.valueOf(listenerId);
proxy = proxyMap.get(id);
if (proxy == null) {
proxy = new ServerEventListenerProxy(getFactory(), listenerId,
getQueue());
proxyMap.put(id, proxy);
}
}