org.apache.openejb.config
Class AutoDeployer

java.lang.Object
  extended by org.apache.openejb.config.AutoDeployer

public class AutoDeployer
extends Object

Version:
$Rev$ $Date$

Constructor Summary
AutoDeployer(ConfigurationFactory factory, List<Deployments> deployments)
           
 
Method Summary
 void fileUpdated(File file)
           
static long getLastModifiedInDir(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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoDeployer

public AutoDeployer(ConfigurationFactory factory,
                    List<Deployments> deployments)
Method Detail

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.