class ScriptConfigurationService implements ScriptingService, ServiceListener {

    @Override
    public ScriptConfiguration get(String uuid) throws ScriptException {
        lock.readLock().lock();
        try {
            failIfUuidDoesNotExist(uuid);
            ScriptConfiguration realmConfiguration = realmConfigurations.get(uuid);
            return realmConfiguration != null ? realmConfiguration : globalConfigurations.get(uuid);
        } finally {
            lock.readLock().unlock();
        }
    }

    @Inject public  ScriptConfigurationService(Logger logger, String realm, CoreWrapper coreWrapper, ServiceConfigManager scm);

}