@ Override public void clear ( ) { Map < String , GroovyRunner > map = getMap ( ) ; writeLock . lock ( ) ; try { cachedValues = null ; map . clear ( ) ; loadDefaultRunners ( ) ; } finally { writeLock . unlock ( ) ; } }
Clears all registered runners from the registry and resets the registry so that it contains only the default set of runners .