Spring Integration

org.springframework.integration.groovy.config
Class RefreshableResourceScriptSource

java.lang.Object
  extended by 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

Constructor Summary
RefreshableResourceScriptSource(Resource resource, long refreshDelay)
           
 
Method Summary
 String getScriptAsString()
           
 boolean isModified()
           
 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(Resource resource,
                                       long refreshDelay)
Method Detail

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

Spring Integration

Copyright © 2010. All Rights Reserved.