public static ScriptFactory getScriptFactory ( ) { ProcessEngineConfigurationImpl processEngineConfiguration = Context . getProcessEngineConfiguration ( ) ; if ( processEngineConfiguration != null ) { return processEngineConfiguration . getScriptFactory ( ) ; } else { return new ScriptFactory ( ) ; } }
Returns the configured script factory in the context or a new one .