public class AutoDeployer
extends java.lang.Object
Constructor and Description |
---|
AutoDeployer(ConfigurationFactory factory,
java.util.List<Deployments> deployments) |
Modifier and Type | Method and Description |
---|---|
void |
fileUpdated(java.io.File file) |
static long |
getLastModifiedInDir(java.io.File dir) |
void |
observe(ContainerSystemPostCreate postCreate) |
void |
observe(ContainerSystemPreDestroy preDestroy) |
void |
scan()
Looks for changes to the immediate contents of the directory we're watching.
|
void |
start() |
void |
stop()
Will stop the AutoDeployer from scanning, and waits for a running scan to complete.
|
public AutoDeployer(ConfigurationFactory factory, java.util.List<Deployments> deployments)
public void fileUpdated(java.io.File file)
public void observe(@Observes ContainerSystemPostCreate postCreate)
public void observe(@Observes ContainerSystemPreDestroy preDestroy)
public void stop()
public void start()
public void scan()
public static long getLastModifiedInDir(java.io.File dir)