public void clientChanged(String clientType,int dbType,int opType){
  if (debug.messageEnabled()) {
    debug.message(CLASS + "clientChanged() Notification: " + "clientType = "+ clientType+ " :DB = "+ dbType+ " : Op = "+ opType);
  }
  if ((clientType == null) || (clientType.length() == 0)) {
    return;
  }
  if (opType == AMClientCapData.ADDED) {
    if (dbType == AMClientCapData.INTERNAL) {
      if (!internalClientData.containsKey(clientType)) {
        Map iMap=intCapInstance.loadMinimalClient(clientType);
        Map oMap=(Map)mergedClientData.get(clientType);
        Map mMap=mergeMap(oMap,iMap);
        handleParentChange(clientType,mMap);
        unloadClient(clientType);
      }
    }
 else     if (dbType == AMClientCapData.EXTERNAL) {
synchronized (updatedClients) {
        if (!externalClientData.containsKey(clientType)) {
          Map eMap=extCapInstance.loadMinimalClient(clientType);
          Map oMap=(Map)mergedClientData.get(clientType);
          Map mMap=mergeMap(oMap,eMap);
          handleParentChange(clientType,mMap);
          unloadClient(clientType);
        }
      }
    }
  }
 else   if (opType == AMClientCapData.MODIFIED) {
synchronized (updatedClients) {
      if (updatedClients.contains(clientType)) {
        updatedClients.remove(clientType);
      }
 else {
        Map cMap=extCapInstance.loadMinimalClient(clientType);
        Map oMap=(Map)mergedClientData.get(clientType);
        Map mMap=mergeMap(oMap,cMap);
        handleParentChange(clientType,mMap);
        unloadClient(clientType);
      }
    }
  }
 else   if (opType == AMClientCapData.REMOVED) {
    if (externalClientData.containsKey(clientType)) {
      removeFromMaps(clientType);
    }
  }
 else {
    debug.warning(CLASS + "clientChanged(): unknown OpType");
  }
}

public void clientChanged ( String clientType , int dbType , int opType ) { if ( debug . messageEnabled ( ) ) { debug . message ( CLASS + "clientChanged() Notification: " + "clientType = " + clientType + " :DB = " + dbType + " : Op = " + opType ) ; } if ( ( clientType == null ) || ( clientType . length ( ) == 0 ) ) { return ; } if ( opType == AMClientCapData . ADDED ) { if ( dbType == AMClientCapData . INTERNAL ) { if ( ! internalClientData . containsKey ( clientType ) ) { Map iMap = intCapInstance . loadMinimalClient ( clientType ) ; Map oMap = ( Map ) mergedClientData . get ( clientType ) ; Map mMap = mergeMap ( oMap , iMap ) ; handleParentChange ( clientType , mMap ) ; unloadClient ( clientType ) ; } } else if ( dbType == AMClientCapData . EXTERNAL ) { synchronized ( updatedClients ) { if ( ! externalClientData . containsKey ( clientType ) ) { Map eMap = extCapInstance . loadMinimalClient ( clientType ) ; Map oMap = ( Map ) mergedClientData . get ( clientType ) ; Map mMap = mergeMap ( oMap , eMap ) ; handleParentChange ( clientType , mMap ) ; unloadClient ( clientType ) ; } } } } else if ( opType == AMClientCapData . MODIFIED ) { synchronized ( updatedClients ) { if ( updatedClients . contains ( clientType ) ) { updatedClients . remove ( clientType ) ; } else { Map cMap = extCapInstance . loadMinimalClient ( clientType ) ; Map oMap = ( Map ) mergedClientData . get ( clientType ) ; Map mMap = mergeMap ( oMap , cMap ) ; handleParentChange ( clientType , mMap ) ; unloadClient ( clientType ) ; } } } else if ( opType == AMClientCapData . REMOVED ) { if ( externalClientData . containsKey ( clientType ) ) { removeFromMaps ( clientType ) ; } } else { debug . warning ( CLASS + "clientChanged(): unknown OpType" ) ; } }
amclientdatalistener method for client change notification
