org.springframework.integration.groovy.config
Class RefreshableResourceScriptSource
java.lang.Object
org.springframework.integration.groovy.config.RefreshableResourceScriptSource
- All Implemented Interfaces:
- ScriptSource
public class RefreshableResourceScriptSource
- extends Object
- implements ScriptSource
- Since:
- 2.0
- Author:
- Dave Syer, Oleg Zhurakousky
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RefreshableResourceScriptSource
public RefreshableResourceScriptSource(Resource resource,
long refreshDelay)
getScriptAsString
public String getScriptAsString()
throws IOException
- Specified by:
getScriptAsString
in interface ScriptSource
- Throws:
IOException
isModified
public boolean isModified()
- Specified by:
isModified
in interface ScriptSource
suggestedClassName
public String suggestedClassName()
- Specified by:
suggestedClassName
in interface ScriptSource
Copyright © 2010. All Rights Reserved.