com.caucho.http.admin
Class ApplicationAdmin

java.lang.Object
  |
  +--com.caucho.http.admin.ApplicationAdmin

public class ApplicationAdmin
extends java.lang.Object

Administers an application.


Constructor Summary
ApplicationAdmin(Application app)
          Creates a new Admin object.
 
Method Summary
 void clearCache()
          Clears the cache.
 int getActiveSessionCount()
          Gets the current number of active sessions.
 ServerAdmin getServerAdmin()
          Returns the server admin.
 void invalidateCache(java.lang.String url)
          Invalidate an entry in the cache.
 void restart()
          Restart the application.
 void setServerAdmin(ServerAdmin admin)
          Sets the server admin.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ApplicationAdmin

public ApplicationAdmin(Application app)
Creates a new Admin object.
Method Detail

getServerAdmin

public ServerAdmin getServerAdmin()
Returns the server admin.

setServerAdmin

public void setServerAdmin(ServerAdmin admin)
Sets the server admin.

clearCache

public void clearCache()
Clears the cache.

invalidateCache

public void invalidateCache(java.lang.String url)
Invalidate an entry in the cache.

getActiveSessionCount

public int getActiveSessionCount()
Gets the current number of active sessions.

restart

public void restart()
Restart the application.