public void deregister(Location location){
  if (location == null) {
    return;
  }
  location.dispose();
  Integer oldSize=Integer.valueOf(_locationHashTable.size());
  _locationHashTable.remove(location.getId());
  setDirtyAndFirePropertyChange(LISTLENGTH_CHANGED_PROPERTY,oldSize,Integer.valueOf(_locationHashTable.size()));
}

public void deregister ( Location location ) { if ( location == null ) { return ; } location . dispose ( ) ; Integer oldSize = Integer . valueOf ( _locationHashTable . size ( ) ) ; _locationHashTable . remove ( location . getId ( ) ) ; setDirtyAndFirePropertyChange ( LISTLENGTH_CHANGED_PROPERTY , oldSize , Integer . valueOf ( _locationHashTable . size ( ) ) ) ; }
forget a namedbean object created outside the manager .
