org.nuxeo.runtime.deploy
Class ConfigurationDeployer
java.lang.Object
org.nuxeo.runtime.deploy.ConfigurationDeployer
- All Implemented Interfaces:
- FileChangeListener
public class ConfigurationDeployer
- extends Object
- implements FileChangeListener
- Author:
- Bogdan Stefanescu
ConfigurationDeployer
public ConfigurationDeployer()
ConfigurationDeployer
public ConfigurationDeployer(FileChangeNotifier notifier)
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
Copyright © 2011 Nuxeo SAS. All Rights Reserved.