|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface DirectoryMonitor.Listener
Method Summary | |
---|---|
String |
fileAdded(File file)
|
boolean |
fileRemoved(File file,
String configId)
|
String |
fileUpdated(File file,
String configId)
|
long |
getDeploymentTime(File file,
String configId)
Called during initialization on previously deployed files. |
String |
getModuleId(String config)
This method returns the module id of an application deployed in the default group. |
boolean |
isFileDeployed(File file,
String configId)
Checks if the file with same configID is already deployed |
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.). |
void |
started()
Called to indicate that the monitor has fully initialized and will be doing normal deployment operations from now on. |
boolean |
validateFile(File file,
String configId)
Called to check whether a file passes the smell test before attempting to deploy it. |
Method Detail |
---|
boolean isServerRunning()
boolean isFileDeployed(File file, String configId)
long getDeploymentTime(File file, String configId)
void started()
boolean validateFile(File file, String configId)
String fileAdded(File file)
boolean fileRemoved(File file, String configId)
String fileUpdated(File file, String configId)
String getModuleId(String config)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |