org.alfresco.deployment
Class SurfRefreshRunnable

java.lang.Object
  extended by org.alfresco.deployment.SurfRefreshRunnable
All Implemented Interfaces:
java.io.Serializable, java.lang.Runnable, FSDeploymentRunnable

public class SurfRefreshRunnable
extends java.lang.Object
implements FSDeploymentRunnable

Post-deployment runnable that refreshes the cache on a Surf application. This opens a URL connection to the cache control servlet from the core Web Framework package.

See Also:
Serialized Form

Constructor Summary
SurfRefreshRunnable()
           
 
Method Summary
 java.lang.String getSurfLocation()
          Gets the location of the Surf application
 void init(Deployment deployment)
          An initialization method.
 void run()
           
 void setSurfLocation(java.lang.String surfLocation)
          Sets the location of the Surf application
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SurfRefreshRunnable

public SurfRefreshRunnable()
Method Detail

init

public void init(Deployment deployment)
Description copied from interface: FSDeploymentRunnable
An initialization method.

Specified by:
init in interface FSDeploymentRunnable
Parameters:
deployment - The deployment that has just been committed.

setSurfLocation

public void setSurfLocation(java.lang.String surfLocation)
Sets the location of the Surf application

Parameters:
surfLocation - the location of the Surf application

getSurfLocation

public java.lang.String getSurfLocation()
Gets the location of the Surf application

Returns:
the surf application location

run

public void run()
Specified by:
run in interface java.lang.Runnable


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.