Initial commit from SVN.
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.foundation.web.interfaces;
|
||||
|
||||
public interface IWebApplicationContainer {
|
||||
/**
|
||||
* Increments the activity counter, allowing safe access to the web application until the counter is decremented.
|
||||
* This method blocks until the activity counter can be incremented.
|
||||
* Blocking may occur if the application is in the middle of, or has a pending reload or unload.
|
||||
* <p>The caller does not need to synchronize when calling this method since it will be done internally.</p>
|
||||
* @return Whether the activity counter could be incremented. This will only be false if the application has been closed while the thread was waiting.
|
||||
*/
|
||||
public boolean incrementActivityCounter();
|
||||
/**
|
||||
* Decrements the activity counter and runs the unload/reload thread for the web application if one is waiting.
|
||||
* <p>The caller does not need to synchronize when calling this method since it will be done internally.</p>
|
||||
*/
|
||||
public void decrementActivityCounter();
|
||||
}//IWebApplicationContainer//
|
||||
Reference in New Issue
Block a user