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, Artem Bilan

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Spring Integration