## 接口的使用
org.springframework.scripting.ScriptFactory

- 使用ScriptFactory的程序包
  程序包 | 说明
  --- | ---
  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.bsh中ScriptFactory的使用

    实现ScriptFactory的org.springframework.scripting.bsh中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `BshScriptFactory` `ScriptFactory` implementation for a BeanShell script.

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

    实现ScriptFactory的org.springframework.scripting.groovy中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `GroovyScriptFactory` `ScriptFactory` implementation for a Groovy script.

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

    实现ScriptFactory的org.springframework.scripting.support中的类
    限定符和类型 | 类和说明
    --- | ---
    `class` | `StandardScriptFactory` `ScriptFactory` implementation based on the JSR-223 script engine abstraction (as included in Java 6+).

    参数类型为ScriptFactory的org.springframework.scripting.support中的构造器
    构造器和说明
    `RefreshableScriptTargetSource(org.springframework.beans.factory.BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean)` Create a new RefreshableScriptTargetSource.