public synchronized void forceConnectionDefinitions ( List < ConnectionDefinition > newContent ) { if ( newContent != null ) { this . connectionDefinition = new ArrayList < ConnectionDefinition > ( newContent ) ; } else { this . connectionDefinition = new ArrayList < ConnectionDefinition > ( 0 ) ; } }
Force connectionDefinition with new content . This method is thread safe