private void clear(){
  valid=false;
  if ((listenerObjects == null) || listenerObjects.isEmpty()) {
    deregisterListener();
  }
  ssm=null;
  if (SMSEntry.cacheSMSEntries) {
    orgConfigs.clear();
    globalConfigs.clear();
  }
}

private void clear ( ) { valid = false ; if ( ( listenerObjects == null ) || listenerObjects . isEmpty ( ) ) { deregisterListener ( ) ; } ssm = null ; if ( SMSEntry . cacheSMSEntries ) { orgConfigs . clear ( ) ; globalConfigs . clear ( ) ; } }
clears instance cache and deregisters listeners
