## 类的使用
org.springframework.scripting.ScriptCompilationException

- 使用ScriptCompilationException的程序包
  程序包 | 说明
  --- | ---
  org.springframework.scripting | Core interfaces for Spring's scripting support.
  org.springframework.scripting.bsh | Package providing integration of BeanShell (and BeanShell2) into Spring's scripting infrastructure.
  org.springframework.scripting.groovy | Package providing integration of Groovy into Spring's scripting infrastructure.
  org.springframework.scripting.support | Support classes for Spring's scripting package.

- - ### org.springframework.scripting中ScriptCompilationException的使用

    抛出ScriptCompilationException的org.springframework.scripting中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | ScriptEvaluator.`evaluate(ScriptSource script)` Evaluate the given script.
    `Object` | ScriptEvaluator.`evaluate(ScriptSource script, Map<String,Object> arguments)` Evaluate the given script with the given arguments.
    `Object` | ScriptFactory.`getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)` Factory method for creating the scripted Java object.
    `Class<?>` | ScriptFactory.`getScriptedObjectType(ScriptSource scriptSource)` Determine the type of the scripted Java object.

  - ### org.springframework.scripting.bsh中ScriptCompilationException的使用

    抛出ScriptCompilationException的org.springframework.scripting.bsh中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | BshScriptFactory.`getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)` Load and parse the BeanShell script via `BshScriptUtils`.
    `Class<?>` | BshScriptFactory.`getScriptedObjectType(ScriptSource scriptSource)`

  - ### org.springframework.scripting.groovy中ScriptCompilationException的使用

    抛出ScriptCompilationException的org.springframework.scripting.groovy中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `protected Object` | GroovyScriptFactory.`executeScript(ScriptSource scriptSource, Class<?> scriptClass)` Instantiate the given Groovy script class and run it if necessary.
    `Object` | GroovyScriptFactory.`getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)` Loads and parses the Groovy script via the GroovyClassLoader.
    `Class<?>` | GroovyScriptFactory.`getScriptedObjectType(ScriptSource scriptSource)`

  - ### org.springframework.scripting.support中ScriptCompilationException的使用

    抛出ScriptCompilationException的org.springframework.scripting.support中的方法
    限定符和类型 | 方法和说明
    --- | ---
    `Object` | StandardScriptFactory.`getScriptedObject(ScriptSource scriptSource, Class<?>... actualInterfaces)` Load and parse the script via JSR-223's ScriptEngine.
    `Class<?>` | StandardScriptFactory.`getScriptedObjectType(ScriptSource scriptSource)`