Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.deploy
Class ConfigurationDeployer

java.lang.Object
  extended by org.nuxeo.runtime.deploy.ConfigurationDeployer
All Implemented Interfaces:
FileChangeListener

public class ConfigurationDeployer
extends Object
implements FileChangeListener

Author:
Bogdan Stefanescu

Nested Class Summary
static class ConfigurationDeployer.Entry
           
 
Constructor Summary
ConfigurationDeployer()
           
ConfigurationDeployer(FileChangeNotifier notifier)
           
 
Method Summary
 void _undeploy(ConfigurationDeployer.Entry entry)
           
 void addConfigurationChangedListener(ConfigurationChangedListener listener)
           
 void deploy(RuntimeContext ctx, File file, boolean trackChanges)
           
 void deploy(RuntimeContext ctx, URL url, boolean trackChanges)
           
 void fileChanged(FileChangeNotifier.FileEntry entry, long now)
          Notifies that the given file changed.
 void fireConfigurationChanged(ConfigurationDeployer.Entry entry)
           
 void removeConfigurationChangedListener(ConfigurationChangedListener listener)
           
 void undeploy(File file)
           
 void undeploy(URL url)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationDeployer

public ConfigurationDeployer()

ConfigurationDeployer

public ConfigurationDeployer(FileChangeNotifier notifier)
Method Detail

deploy

public void deploy(RuntimeContext ctx,
                   URL url,
                   boolean trackChanges)
            throws Exception
Throws:
Exception

undeploy

public void undeploy(URL url)
              throws Exception
Throws:
Exception

_undeploy

public void _undeploy(ConfigurationDeployer.Entry entry)
               throws Exception
Throws:
Exception

deploy

public void deploy(RuntimeContext ctx,
                   File file,
                   boolean trackChanges)
            throws Exception
Throws:
Exception

undeploy

public void undeploy(File file)
              throws Exception
Throws:
Exception

fileChanged

public void fileChanged(FileChangeNotifier.FileEntry entry,
                        long now)
                 throws Exception
Description copied from interface: FileChangeListener
Notifies that the given file changed.

Specified by:
fileChanged in interface FileChangeListener
now - the time stamp when the change was detected. This value can be used as a notification ID by listeners to avoid multiple processing for notification that will send multiple events
Throws:
Exception

addConfigurationChangedListener

public void addConfigurationChangedListener(ConfigurationChangedListener listener)

removeConfigurationChangedListener

public void removeConfigurationChangedListener(ConfigurationChangedListener listener)

fireConfigurationChanged

public void fireConfigurationChanged(ConfigurationDeployer.Entry entry)
                              throws Exception
Throws:
Exception

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.