/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2005 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ACIEventListener.java,v 1.5 2009/01/28 05:34:48 ww203982 Exp $
*
* Portions Copyrighted 2011-2015 ForgeRock AS.
*/
/**
* The <code>ACIEventListener</code> handles all the events that are generated
* implements the <code>com.iplanet.services.ldap.event.IDSEventListener</code>
* interface.
*/
// Instance variables
public ACIEventListener() {
}
/**
* This method will be invoked by the <code>EventService</code> if the
* events for which this listener registered has been triggered. Since this
* listener is interested in modifications with respect to ACI's it
* identifies the DN's affected by this event and sends a notification to
* the <code>AMObjectImpl</code> by calling the appropriate method.
* Usually all the DN's whose have a suffix of this DN of this event will
* get affected
* <p>
*
* @param dsEvent
* <code>DSEvent</code> object generated by the
* <code>EventService</code>.
*/
if (debug.messageEnabled()) {
}
// Should not get cos related aci changes events here. But check anyway.
return; // Ignore Event.COS entries should'nt contain ACI's
}
if (DirectoryServicesFactory.isCachingEnabled()) {
dsEvent.getEventType(), false, true,
}
// Call Listeners
synchronized (listeners) {
} else {
}
}
}
}
/**
* This method is invoked by the <code>EventService</code> if it
* encounters an error.
*/
}
public void allEntriesChanged() {
// Since for SDK, cache clearing is being done by AMEntryEventListener
// this method will not do anything.
}
return EventManager.EVENT_BASE_NODE;
}
return SEARCH_FILTER;
}
public int getOperations() {
return OPERATIONS;
}
public int getScope() {
return EventManager.EVENT_SCOPE;
}
}
}