Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The Runnable FileSystem Resource is just like a file system resource, with the addition that, when configured as input to a reloadable service, it will call code that the deployer supplies you supply prior to checking whether the service needs to be refreshed.  This gives deployer you the ability to be involved prior to a service being updated.

...

There is no custom syntax available to configure this resource.  The class name is net.shibboleth.ext.spring.resource.RunnableFileSystemResource.  It has all the same methods as the standard Spring FileSystemResource.html, but the constructors are different, taking a second parameter with name "runnable"

...

  • Connect to a database to refresh the file
  • Reach across the netork network (using a protocol other than HTTP) to refresh the resource (an example, using SVN is given here)
  • Be By a script - the ScriptedRunnable is described below.

...