protected static void notifyACIChangeEvent(String dn,int eventType){
  if (debug.messageEnabled()) {
    debug.message("In AMObjectImpl.notifyACIChangeEvent(..): " + dn);
  }
synchronized (objImplListeners) {
    if (objImplListeners.isEmpty()) {
      return;
    }
    AMEvent dpEvent=new AMEvent(new AMEvent(dn),eventType);
switch (eventType) {
case AMEvent.OBJECT_CHANGED:
case AMEvent.OBJECT_RENAMED:
      if (debug.messageEnabled()) {
        debug.message("In AMObjectImpl.notifyACIChangeEvent(..): " + "ACI Entry renamed/changed event");
      }
    notifyAffectedDNs(dn,dpEvent);
  break;
case AMEvent.OBJECT_REMOVED:
if (debug.messageEnabled()) {
  debug.message("In AMObjectImpl.notifyACIChangeEvent(..): " + "ACI Entry removed event");
}
Set objImplSet=(Set)objImplListeners.get(dn.toLowerCase());
if (objImplSet == null) {
return;
}
Iterator itr=objImplSet.iterator();
while (itr.hasNext()) {
AMObjectImpl dpObjImpl=(AMObjectImpl)itr.next();
dpObjImpl.sendEvents(dpEvent);
}
break;
default :
;
}
}
}

protected static void notifyACIChangeEvent ( String dn , int eventType ) { if ( debug . messageEnabled ( ) ) { debug . message ( "In AMObjectImpl.notifyACIChangeEvent(..): " + dn ) ; } synchronized ( objImplListeners ) { if ( objImplListeners . isEmpty ( ) ) { return ; } AMEvent dpEvent = new AMEvent ( new AMEvent ( dn ) , eventType ) ; switch ( eventType ) { case AMEvent . OBJECT_CHANGED : case AMEvent . OBJECT_RENAMED : if ( debug . messageEnabled ( ) ) { debug . message ( "In AMObjectImpl.notifyACIChangeEvent(..): " + "ACI Entry renamed/changed event" ) ; } notifyAffectedDNs ( dn , dpEvent ) ; break ; case AMEvent . OBJECT_REMOVED : if ( debug . messageEnabled ( ) ) { debug . message ( "In AMObjectImpl.notifyACIChangeEvent(..): " + "ACI Entry removed event" ) ; } Set objImplSet = ( Set ) objImplListeners . get ( dn . toLowerCase ( ) ) ; if ( objImplSet == null ) { return ; } Iterator itr = objImplSet . iterator ( ) ; while ( itr . hasNext ( ) ) { AMObjectImpl dpObjImpl = ( AMObjectImpl ) itr . next ( ) ; dpObjImpl . sendEvents ( dpEvent ) ; } break ; default : ; } } }
notifies aci change . this method will be called by the < code > amidrepolistener to send notifications to all interested amobjectimp ' s whenever an aci change occurs .
