Class RefreshableScriptTargetSource

All Implemented Interfaces:
Refreshable, TargetClassAware, TargetSource

public class RefreshableScriptTargetSource extends BeanFactoryRefreshableTargetSource
Subclass of BeanFactoryRefreshableTargetSource that determines whether a refresh is required through the given ScriptFactory.
Since:
2.0
Author:
Rob Harrop, Juergen Hoeller, Mark Fisher
  • Constructor Details

    • RefreshableScriptTargetSource

      public RefreshableScriptTargetSource(BeanFactory beanFactory, String beanName, ScriptFactory scriptFactory, ScriptSource scriptSource, boolean isFactoryBean)
      Create a new RefreshableScriptTargetSource.
      Parameters:
      beanFactory - the BeanFactory to fetch the scripted bean from
      beanName - the name of the target bean
      scriptFactory - the ScriptFactory to delegate to for determining whether a refresh is required
      scriptSource - the ScriptSource for the script definition
      isFactoryBean - whether the target script defines a FactoryBean
  • Method Details