Spring Integration

org.springframework.integration.scripting
Class RefreshableResourceScriptSource

java.lang.Object
  extended by org.springframework.integration.scripting.RefreshableResourceScriptSource
All Implemented Interfaces:
org.springframework.scripting.ScriptSource

public class RefreshableResourceScriptSource
extends java.lang.Object
implements org.springframework.scripting.ScriptSource

Since:
2.0
Author:
Dave Syer, Oleg Zhurakousky

Constructor Summary
RefreshableResourceScriptSource(org.springframework.core.io.Resource resource, long refreshDelay)
           
 
Method Summary
 java.lang.String getScriptAsString()
           
 boolean isModified()
           
 java.lang.String suggestedClassName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefreshableResourceScriptSource

public RefreshableResourceScriptSource(org.springframework.core.io.Resource resource,
                                       long refreshDelay)
Method Detail

getScriptAsString

public java.lang.String getScriptAsString()
                                   throws java.io.IOException
Specified by:
getScriptAsString in interface org.springframework.scripting.ScriptSource
Throws:
java.io.IOException

suggestedClassName

public java.lang.String suggestedClassName()
Specified by:
suggestedClassName in interface org.springframework.scripting.ScriptSource

isModified

public boolean isModified()
Specified by:
isModified in interface org.springframework.scripting.ScriptSource

Spring Integration