FileDocCategorySizeDatePackage
MonitorListener.javaAPI DocGlassfish v2 API3455Fri May 04 22:35:42 BST 2007com.sun.enterprise.server

MonitorListener

public interface MonitorListener
This interface defines the methods that must be implemented by objects that are interested in call backs from server runtime monitors.
author
Nazrul Islam

Fields Summary
Constructors Summary
Methods Summary
public booleandeploy(MonitorableEntry entry, java.io.File archive)
Callback from the auto deploy monitor when a new archive is detected.

param
entry entry thats being monitored
param
archive newly detected archive under the auto deploy directory
return
true if archive was deployed successfully

public booleanreload(MonitorableEntry entry)
Callback from the reload monitor for this given entry. This is done when user updates the $APP_ROOT/.reload file indicating the server runtime for a dynamic reload.

param
entry entry thats being monitored
return
true if application was reloaded successfully