13 lines
660 B
Java
13 lines
660 B
Java
|
|
package com.foundation.web.interfaces;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* Used to complete the reload operation.
|
||
|
|
*/
|
||
|
|
public interface IReloadOperation {
|
||
|
|
/**
|
||
|
|
* Called after updating the web application on the file system. Will attempt to restore the sessions for the old web application.
|
||
|
|
* @param application The new web application. This should be null if it should be removed instead.
|
||
|
|
* @return False only if unable to restore the session state. The web application will always be brought back up if at all possible. If it isn't possible to bring the application up then an exception will be thrown.
|
||
|
|
*/
|
||
|
|
public boolean complete(IWebApplication application);
|
||
|
|
}//IReloadOperation//
|