Home » geronimo-2.2-source-release » org.apache.geronimo.deployment.hot » [javadoc | source]
org.apache.geronimo.deployment.hot
public static interface: DirectoryMonitor.Listener [javadoc | source]

All Known Implementing Classes:
    HotDeployer, DirectoryHotDeployer

Method from org.apache.geronimo.deployment.hot.DirectoryMonitor$Listener Summary:
fileAdded,   fileRemoved,   fileUpdated,   getDeploymentTime,   getModuleId,   isFileDeployed,   isServerRunning,   started,   validateFile
Method from org.apache.geronimo.deployment.hot.DirectoryMonitor$Listener Detail:
 public String fileAdded(File file)
 public boolean fileRemoved(File file,
    String configId)
 public String fileUpdated(File file,
    String configId)
 public long getDeploymentTime(File file,
    String configId)
    Called during initialization on previously deployed files.
 public String getModuleId(String config)
    This method returns the module id of an application deployed in the default group.
 public boolean isFileDeployed(File file,
    String configId)
    Checks if the file with same configID is already deployed
 public boolean isServerRunning()
    The directory monitor doesn't take any action unless this method returns true (to avoid deploying before the deploy GBeans are running, etc.).
 public  void started()
    Called to indicate that the monitor has fully initialized and will be doing normal deployment operations from now on.
 public boolean validateFile(File file,
    String configId)
    Called to check whether a file passes the smell test before attempting to deploy it.