public void setPrefixConfig ( final PrefixConfig config ) { lock . writeLock ( ) . lock ( ) ; try { if ( config == null ) { prefixes = EmptyPrefix . INSTANCE ; } else { prefixes = config ; } } finally { lock . writeLock ( ) . unlock ( ) ; } }
Sets the prefix config .