org.apache.openejb.config
Class AutoDeployer
java.lang.Object
org.apache.openejb.config.AutoDeployer
public class AutoDeployer
- extends Object
- Version:
- $Rev$ $Date$
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutoDeployer
public AutoDeployer(ConfigurationFactory factory,
List<Deployments> deployments)
fileUpdated
public void fileUpdated(File file)
observe
public void observe(@Observes
ContainerSystemPostCreate postCreate)
observe
public void observe(@Observes
ContainerSystemPreDestroy preDestroy)
stop
public void stop()
- Will stop the AutoDeployer from scanning, and waits for a running scan to complete.
start
public void start()
scan
public void scan()
- Looks for changes to the immediate contents of the directory we're watching.
getLastModifiedInDir
public static long getLastModifiedInDir(File dir)
Copyright © 1999–2015 The Apache Software Foundation. All rights reserved.